[gtk-osx] Bug 725530 - babl fails to compile on 10.9 in stable modulesets
- From: John Ralls <jralls src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk-osx] Bug 725530 - babl fails to compile on 10.9 in stable modulesets
- Date: Thu, 6 Mar 2014 17:47:05 +0000 (UTC)
commit f5c6a78184a7dfb154ebfca14b868ee857b04d70
Author: John Ralls <jralls ceridwen us>
Date: Thu Mar 6 09:46:22 2014 -0800
Bug 725530 - babl fails to compile on 10.9 in stable modulesets
Following the reporter's suggestion, disable sse when building with Xcode5.
jhbuildrc-gtk-osx | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/jhbuildrc-gtk-osx b/jhbuildrc-gtk-osx
index 12e433d..719f095 100644
--- a/jhbuildrc-gtk-osx
+++ b/jhbuildrc-gtk-osx
@@ -377,11 +377,15 @@ def setup_sdk(target, sdk_version, architectures=[_default_arch]):
module_extra_env.update(
{"perl-xml-simple":{"ARCHFLAGS":"-arch i386 -arch x86_64"},
"perl-xml-parser":{"ARCHFLAGS":"-arch i386 -arch x86_64"}})
+ #Xcode 5 uses clang; there's no gcc-llvm anymore. Some packages
+ #require special arguments or flags to compile:
if xcodeversion >= 5.0:
module_extra_env["pkg-config"] = {'CFLAGS': os.environ['CFLAGS'] + ' -std=gnu89'}
append_autogenargs('libgcrypt', 'CFLAGS="$CFLAGS -fheinous-gnu-extensions"')
module_extra_env["webkit"] = {'CXXFLAGS':os.environ['CXXFLAGS'] +
' -stdlib=libstdc++'}
+ append_autogenargs('babl', '--disable-sse')
+
if xcodeversion >= 4.0 and target in ('10.6', '10.5', '10.4'):
environ_append('LDFLAGS',
'-Wl,-no_function_starts -Wl,-no_version_load_command')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]