[34317] trunk/base/src/port1.0/portconfigure.tcl
afb at macports.org
afb at macports.org
Thu Feb 21 04:37:16 PST 2008
Revision: 34317
http://trac.macosforge.org/projects/macports/changeset/34317
Author: afb at macports.org
Date: 2008-02-21 04:37:16 -0800 (Thu, 21 Feb 2008)
Log Message:
-----------
make really really sure that Leopard gets the MDT used (#14399)
Modified Paths:
--------------
trunk/base/src/port1.0/portconfigure.tcl
Modified: trunk/base/src/port1.0/portconfigure.tcl
===================================================================
--- trunk/base/src/port1.0/portconfigure.tcl 2008-02-21 12:35:01 UTC (rev 34316)
+++ trunk/base/src/port1.0/portconfigure.tcl 2008-02-21 12:37:16 UTC (rev 34317)
@@ -194,11 +194,16 @@
# internal function to determine the CFLAGS for the compiler
proc configure_get_universal_cflags {args} {
global configure.universal_sysroot
+ global os.platform os.arch os.version os.major
set flags [configure_get_universal_archflags]
# these flags should be valid for C/C++ and similar compiler frontends
if {[info exists configure.universal_sysroot]} {
set flags "-isysroot ${configure.universal_sysroot} ${flags}"
}
+ # normally set in MACOSX_DEPLOYMENT_TARGET, add here too to make sure
+ if {${os.major} == "9"} {
+ set flags "${flags} -mmacosx-version-min=${configure.universal_target}"
+ }
return $flags
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080221/1ca26a53/attachment-0001.html
More information about the macports-changes
mailing list