summaryrefslogtreecommitdiff
path: root/recipes/libmad.recipe
diff options
context:
space:
mode:
authorAndoni Morales Alastruey <ylatuya@gmail.com>2014-04-08 11:45:37 +0200
committerAndoni Morales Alastruey <ylatuya@gmail.com>2014-04-08 11:45:37 +0200
commit0e560ab9a7f3846d142741541d36a87073710eeb (patch)
treee868cf023be30f566d66d65b34d318096d9c2714 /recipes/libmad.recipe
parent4f168a6c38070c69ac83ce12c652eeb900a2c9da (diff)
enums: add a helper function to check for arm archs
Diffstat (limited to 'recipes/libmad.recipe')
-rw-r--r--recipes/libmad.recipe2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes/libmad.recipe b/recipes/libmad.recipe
index 040f6512..3ba5041e 100644
--- a/recipes/libmad.recipe
+++ b/recipes/libmad.recipe
@@ -16,7 +16,7 @@ class Recipe(recipe.Recipe):
self.new_env['CCAS'] += ' -no-integrated-as '
if self.config.target_platform == Platform.ANDROID:
self.autoreconf = True
- if self.config.target_arch == Architecture.ARM or self.config.target_arch == Architecture.ARMv7:
+ if Architecture.is_arm(self.config.target_arch):
# Disable thumb mode to get the optimizations compiled properly
self.new_env['CFLAGS'] = os.environ['CFLAGS'].replace('-mthumb', '')
if self.config.target_arch == Architecture.X86: