summaryrefslogtreecommitdiff
path: root/recipes/libvorbis.recipe
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/libvorbis.recipe')
-rw-r--r--recipes/libvorbis.recipe13
1 files changed, 3 insertions, 10 deletions
diff --git a/recipes/libvorbis.recipe b/recipes/libvorbis.recipe
index 8ee237ee..b6a12e5c 100644
--- a/recipes/libvorbis.recipe
+++ b/recipes/libvorbis.recipe
@@ -12,18 +12,11 @@ class Recipe(recipe.Recipe):
config_sh = 'sh autogen.sh'
patches = ['libvorbis/0001-Fix-linking-on-Android.patch',
'libvorbis/0003-Link-the-other-libs-with-lm-too.patch',
- 'libvorbis/0004-configure-check-for-endianness.patch']
+ 'libvorbis/0004-configure-check-for-endianness.patch',
+ 'libvorbis/0005-darwin-do-not-build-for-a-generic-arm-architecture.patch',
+ ]
files_libs = ['libvorbis', 'libvorbisenc', 'libvorbisfile']
files_devel = [
'include/vorbis', 'lib/pkgconfig/vorbis.pc',
'lib/pkgconfig/vorbisenc.pc', 'lib/pkgconfig/vorbisfile.pc']
-
- def configure(self):
- if self.config.target_platform == Platform.IOS:
- if self.config.target_arch in [Architecture.ARM, Architecture.ARMv7]:
- # These optimizations make the linker think the object file is not
- # for the arm architecture
- shell.replace (os.path.join(self.build_dir, 'configure'),
- {'-O4': '-O2', '-force_cpusubtype_ALL': ' '})
- super(recipe.Recipe, self).configure()