diff options
author | Nicolas Dufresne <nicolas.dufresne@collabora.com> | 2015-10-03 22:42:36 +0100 |
---|---|---|
committer | Nicolas Dufresne <nicolas.dufresne@collabora.com> | 2015-10-03 22:42:36 +0100 |
commit | 851b094c061137c79f243f7bf9e5d80cdbc09bdb (patch) | |
tree | 9ea29c82f1488480ef34d42bfa8326603600d58f /recipes/spandsp.recipe | |
parent | 5d6929c7c8258aec95fd214a3c241ed8ba14b755 (diff) |
spandsp: Always skip ac_cv_func_ check for Android
This should fix a non-cross compiling case, Android x86_54 where
this check was failing.
https://bugzilla.gnome.org/show_bug.cgi?id=754997
Diffstat (limited to 'recipes/spandsp.recipe')
-rw-r--r-- | recipes/spandsp.recipe | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes/spandsp.recipe b/recipes/spandsp.recipe index ba78cd97..760a2b6a 100644 --- a/recipes/spandsp.recipe +++ b/recipes/spandsp.recipe @@ -16,7 +16,7 @@ class Recipe(recipe.Recipe): def prepare(self): # Workaround broken autoconf test in cross compilation - if self.config.arch != self.config.target_arch: + if self.config.arch != self.config.target_arch or self.config.target_platform == Platform.ANDROID: self.new_env['ac_cv_func_malloc_0_nonnull'] = 'yes' self.new_env['ac_cv_func_realloc_0_nonnull'] = 'yes' if self.config.target_platform == Platform.WINDOWS: |