Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLakshmi Shanmugam2018-03-14 02:12:27 -0400
committerLakshmi Shanmugam2018-03-14 02:16:10 -0400
commit87209e6c2c7b67087d3c7e2bda700538ca673cc8 (patch)
treed49ac00136b5198d1da7973900e49342c169135d
parentea71c3027ce4c9aac4ec802f6d43e26d5e85b96f (diff)
downloadrt.equinox.framework-87209e6c2c7b67087d3c7e2bda700538ca673cc8.tar.gz
rt.equinox.framework-87209e6c2c7b67087d3c7e2bda700538ca673cc8.tar.xz
rt.equinox.framework-87209e6c2c7b67087d3c7e2bda700538ca673cc8.zip
Bug 530280: Build with SDK 10.10 on the Foundation mac machine (10.12)
Set the deployment target and base sdk to 10.10. Change-Id: I9d61a2abcfb2fa335e0066c9fc23f296c0dcd994 Signed-off-by: Lakshmi Shanmugam <lshanmug@in.ibm.com>
-rw-r--r--features/org.eclipse.equinox.executable.feature/library/cocoa/build.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/features/org.eclipse.equinox.executable.feature/library/cocoa/build.sh b/features/org.eclipse.equinox.executable.feature/library/cocoa/build.sh
index f40aaf613..77e04ed6c 100644
--- a/features/org.eclipse.equinox.executable.feature/library/cocoa/build.sh
+++ b/features/org.eclipse.equinox.executable.feature/library/cocoa/build.sh
@@ -59,9 +59,10 @@ PROGRAM_OUTPUT="$programOutput"
DEFAULT_OS="$defaultOS"
DEFAULT_OS_ARCH="$defaultOSArch"
DEFAULT_WS="$defaultWS"
+DEPLOYMENT_TARGET=10.10
EXEC_DIR=../../../../../rt.equinox.binaries/org.eclipse.equinox.executable
PROGRAM_OUTPUT_DIR="$EXEC_DIR/bin/$defaultWS/$defaultOS/$defaultOSArch/Eclipse.app/Contents/MacOS"
-MACOSX_DEPLOYMENT_TARGET=10.10
+SDKROOT_PATH="/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk"
# /System/Library/Frameworks/JavaVM.framework/Headers does not exist anymore on Yosemite
if [ -e /System/Library/Frameworks/JavaVM.framework/Headers ]; then
@@ -71,7 +72,8 @@ else
fi
ARCHS="-arch x86_64"
-export PROGRAM_OUTPUT DEFAULT_OS DEFAULT_OS_ARCH DEFAULT_WS ARCHS PROGRAM_OUTPUT_DIR JAVA_HEADERS MACOSX_DEPLOYMENT_TARGET
+export PROGRAM_OUTPUT DEFAULT_OS DEFAULT_OS_ARCH DEFAULT_WS ARCHS PROGRAM_OUTPUT_DIR JAVA_HEADERS
+export MACOSX_DEPLOYMENT_TARGET=$DEPLOYMENT_TARGET SDKROOT=$SDKROOT_PATH
if [ "$extraArgs" != "" ]; then
make -f $makefile $extraArgs

Back to the top