|
From: <cre...@us...> - 2008-01-07 19:28:41
|
Revision: 1788
http://frontierkernel.svn.sourceforge.net/frontierkernel/?rev=1788&view=rev
Author: creecode
Date: 2008-01-07 11:28:28 -0800 (Mon, 07 Jan 2008)
Log Message:
-----------
added -isysroot to cc commands for Xcode v2.5 compatibility
Modified Paths:
--------------
Frontier/trunk/build_Xcode/tools/postlinking.sh
Modified: Frontier/trunk/build_Xcode/tools/postlinking.sh
===================================================================
--- Frontier/trunk/build_Xcode/tools/postlinking.sh 2007-11-27 19:00:51 UTC (rev 1787)
+++ Frontier/trunk/build_Xcode/tools/postlinking.sh 2008-01-07 19:28:28 UTC (rev 1788)
@@ -34,12 +34,14 @@
export MACOSX_DEPLOYMENT_TARGET="10.1"
# extract the APP_VERSION_STRING
-cc ${preprocessor_defs} -I"${SRCROOT}/../Common/headers" -o appversion appversion.c
+echo "cc ${preprocessor_defs} -isysroot ${SDKROOT} -I \"${SRCROOT}/../Common/headers\" -o appversion appversion.c"
+cc ${preprocessor_defs} -isysroot ${SDKROOT} -I"${SRCROOT}/../Common/headers" -o appversion appversion.c
version_str=`./appversion`
echo "Using version string: ${version_str}"
# extract the copyright_year_string
-cc ${preprocessor_defs} -I"${SRCROOT}/../Common/headers" -o appcopyright appcopyright.c
+echo "cc ${preprocessor_defs} -isysroot ${SDKROOT} -I \"${SRCROOT}/../Common/headers\" -o appcopyright appcopyright.c"
+cc ${preprocessor_defs} -isysroot ${SDKROOT} -I"${SRCROOT}/../Common/headers" -o appcopyright appcopyright.c
copyright_str=`./appcopyright`
echo "Using copyright string: ${copyright_str}"
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|