[gtk-osx] Add XCode5 CC definitions
- From: John Ralls <jralls src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk-osx] Add XCode5 CC definitions
- Date: Sun, 22 Sep 2013 16:57:46 +0000 (UTC)
commit e1b3c97b8449e00ffd7a64000cb5d0ac62da375d
Author: John Ralls <jralls ceridwen us>
Date: Thu Sep 19 13:18:09 2013 -0700
Add XCode5 CC definitions
jhbuildrc-gtk-osx | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/jhbuildrc-gtk-osx b/jhbuildrc-gtk-osx
index bc57920..70d2567 100644
--- a/jhbuildrc-gtk-osx
+++ b/jhbuildrc-gtk-osx
@@ -282,6 +282,10 @@ def setup_sdk(target, sdk_version, architectures=[_default_arch]):
os.environ["CC"] = os.path.join(_toolpath, "gcc-4.0")
os.environ["OBJC"] = os.path.join(_toolpath, "gcc-4.0")
os.environ["CXX"] = os.path.join(_toolpath, "g++-4.0")
+ elif xcodeversion >= 5.0:
+ os.environ["CC"] = "gcc"
+ os.environ["OBJC"] = "gcc"
+ os.environ["CXX"] = "g++"
elif _osx_version >= 7.0 and xcodeversion > 4.0:
os.environ["CC"] = os.path.join(_toolpath, "llvm-gcc-4.2")
os.environ["OBJC"] = os.path.join(_toolpath, "llvm-gcc-4.2")
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]