[gtk-osx] Set -isysroot on CPPFLAGS



commit 74a95603c9f78a9204e9f024666ed2aa4666d632
Author: John Ralls <jralls ceridwen us>
Date:   Tue Feb 25 14:49:32 2014 -0800

    Set -isysroot on CPPFLAGS
    
    So that preprocessor-only configure tests get the right includes.

 jhbuildrc-gtk-osx |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/jhbuildrc-gtk-osx b/jhbuildrc-gtk-osx
index 7dfe698..2c93854 100644
--- a/jhbuildrc-gtk-osx
+++ b/jhbuildrc-gtk-osx
@@ -272,6 +272,7 @@ def setup_sdk(target, sdk_version, architectures=[_default_arch]):
 #everything seems to be working correctly.
         if not _osx_version < 5.0:
             environ_append("CFLAGS", "-isysroot " + sdkdir)
+            environ_append("CPPFLAGS", "-isysroot " + sdkdir)
             environ_append("CXXFLAGS", "-isysroot " + sdkdir)
             environ_append("OBJCFLAGS", "-isysroot " + sdkdir)
             environ_append("LDFLAGS", "-isysroot " + sdkdir)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]