[gtk-osx] Add some special flags for building with clang/.



commit bf1ed0258b578c8e6e7eb93cc9808e14e7f9c67a
Author: John Ralls <jralls ceridwen us>
Date:   Mon Feb 24 12:02:03 2014 -0800

    Add some special flags for building with clang/.

 jhbuildrc-gtk-osx |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/jhbuildrc-gtk-osx b/jhbuildrc-gtk-osx
index 97e3dfa..7dfe698 100644
--- a/jhbuildrc-gtk-osx
+++ b/jhbuildrc-gtk-osx
@@ -378,6 +378,9 @@ def setup_sdk(target, sdk_version, architectures=[_default_arch]):
              "perl-xml-parser":{"ARCHFLAGS":"-arch i386 -arch x86_64"}})
     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=listdc++'}
     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]