[gtk-osx] Base CC selection on xcodeversion
- From: John Ralls <jralls src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk-osx] Base CC selection on xcodeversion
- Date: Mon, 16 Jan 2012 16:09:49 +0000 (UTC)
commit 66b170bcc2e83c2276f479b81a47e57fda754c6e
Author: John Ralls <jralls ceridwen us>
Date: Mon Jan 16 08:09:37 2012 -0800
Base CC selection on xcodeversion
jhbuildrc-gtk-osx | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/jhbuildrc-gtk-osx b/jhbuildrc-gtk-osx
index 378d919..1b7e8ab 100644
--- a/jhbuildrc-gtk-osx
+++ b/jhbuildrc-gtk-osx
@@ -234,7 +234,7 @@ def setup_sdk(target, sdk_version, architectures=[_default_arch]):
os.environ["VERSIONER_PYTHON_PREFER_32_BIT"] = "yes"
#SDK 10.4 doesn't support gcc4.2.
- if _osx_version.startswith("8.") or sdk_version == "10.4u":
+ if _xcodeversion == 3.0 or sdk_version == "10.4u":
os.environ["CC"] = "/usr/bin/gcc-4.0"
os.environ["CXX"] = "/usr/bin/g++-4.0"
elif _osx_version.startswith("11") and _xcodeversion > 4.0:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]