diff options
author | Andoni Morales Alastruey <ylatuya@gmail.com> | 2013-03-18 17:20:43 +0100 |
---|---|---|
committer | Andoni Morales Alastruey <ylatuya@gmail.com> | 2013-03-18 17:25:55 +0100 |
commit | 8b513e431552ca797420dc26483fe88cded3f888 (patch) | |
tree | 336fbee19f58d1917a18a5fd4d7c1c5f07715e66 | |
parent | 8142ac20c29af037522fddfe9beebf17fa991c7c (diff) |
tremor: disable asm in iOS for now
-rw-r--r-- | recipes/tremor.recipe | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/recipes/tremor.recipe b/recipes/tremor.recipe index 8abca3c8..93947479 100644 --- a/recipes/tremor.recipe +++ b/recipes/tremor.recipe @@ -1,5 +1,5 @@ # -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python - +from cerbero.utils import shell class Recipe(recipe.Recipe): name = 'tremor' @@ -14,7 +14,12 @@ class Recipe(recipe.Recipe): def prepare(self): if self.config.target_arch == Architecture.ARMv7: - self.new_env['CFLAGS'] = os.environ['CFLAGS'] + " -Wa,-mimplicit-it=thumb " + if self.config.target_platform != Platform.IOS: + self.new_env['CFLAGS'] = os.environ['CFLAGS'] + " -Wa,-mimplicit-it=thumb " elif self.config.target_arch == Architecture.ARM: self.new_env['CFLAGS'] = os.environ['CFLAGS'].replace('-mthumb', '') + def configure(self): + if self.config.target_platform == Platform.IOS: + shell.replace(os.path.join(self.build_dir, 'configure.in'), {'-D_ARM_ASSEM_':''}) + super(recipe.Recipe, self).configure() |