Disable explicit SDK setting for Mac launcher.
Setting an SDK is breaking, but since the build slave is running our lowest supported OS version anyway, we can live with the default setting.
This commit is contained in:
parent
4e9ab5aa80
commit
bac9b55f06
1 changed files with 7 additions and 2 deletions
|
@ -49,12 +49,17 @@ chmod +x $WORKSPACE/dist/bin/osgversion
|
||||||
################################################################################
|
################################################################################
|
||||||
echo "Building Macflightgear launcher"
|
echo "Building Macflightgear launcher"
|
||||||
|
|
||||||
OSX_TARGET="10.6"
|
#OSX_TARGET="10.6"
|
||||||
|
# JMT - disabling setting the sysroot since it's breaking things on
|
||||||
|
# current build slave. Sinc ethe slave runs 10.6 natively, we don't
|
||||||
|
# actually need to set these. Real solution would be to use a proper
|
||||||
|
# build system for the Mac-launcher of course.
|
||||||
|
# -mmacosx-version-min=$OSX_TARGET -isysroot $SDK_PATH
|
||||||
|
|
||||||
pushd maclauncher/FlightGearOSX
|
pushd maclauncher/FlightGearOSX
|
||||||
|
|
||||||
# compile the stub executable
|
# compile the stub executable
|
||||||
gcc -o FlightGear -mmacosx-version-min=$OSX_TARGET -isysroot $SDK_PATH main.m \
|
gcc -o FlightGear main.m \
|
||||||
-framework Cocoa -framework RubyCocoa -framework Foundation -framework AppKit
|
-framework Cocoa -framework RubyCocoa -framework Foundation -framework AppKit
|
||||||
|
|
||||||
popd
|
popd
|
||||||
|
|
Loading…
Reference in a new issue