diff options
Diffstat (limited to 'recipes/libpng')
-rw-r--r-- | recipes/libpng/libpng.recipe | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/recipes/libpng/libpng.recipe b/recipes/libpng/libpng.recipe index 48f4a4ee..ed15c923 100644 --- a/recipes/libpng/libpng.recipe +++ b/recipes/libpng/libpng.recipe @@ -16,6 +16,8 @@ class Recipe(recipe.Recipe): def prepare(self): if self.config.target_platform == Platform.IOS: - self.new_env = {'CCAS': os.environ.get('GAS', '')} + if 'GAS' in os.environ: + self.new_env = {'CCAS': os.environ['GAS']} + self.new_env['CCAS'] += ' -no-integrated-as ' if self.config.target_arch == Architecture.ARM64: self.configure_options += ' --disable-arm-neon ' |