diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2018-09-12 21:33:21 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-09-13 09:26:44 -0700 |
commit | d94f81362396c864e34e993231a522d7cac394e4 (patch) | |
tree | 1a46d860882c666d9d18866bfa037ca47d7c270e /scripts/build.sh | |
parent | afe363fa8569c0634e5bc20dc54c204533a638d7 (diff) | |
download | subsurface-d94f81362396c864e34e993231a522d7cac394e4.tar.gz |
Mac: hard code macosx-version-min as 10.11, regardless of available SDKs
This should never be wrong, and should avoid the warnings on Travis.
Fixes #1654
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'scripts/build.sh')
-rwxr-xr-x | scripts/build.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build.sh b/scripts/build.sh index 0cf95b543..21d1b2472 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -88,7 +88,7 @@ if [ $PLATFORM = Darwin ] ; then exit 1; fi BASESDK=$(ls $SDKROOT | grep "MacOSX10\.1.\.sdk" | head -1 | sed -e "s/MacOSX//;s/\.sdk//") - OLDER_MAC="-mmacosx-version-min=${BASESDK} -isysroot${SDKROOT}/MacOSX${BASESDK}.sdk" + OLDER_MAC="-mmacosx-version-min=10.11 -isysroot${SDKROOT}/MacOSX${BASESDK}.sdk" OLDER_MAC_CMAKE="-DCMAKE_OSX_DEPLOYMENT_TARGET=${BASESDK} -DCMAKE_OSX_SYSROOT=${SDKROOT}/MacOSX${BASESDK}.sdk/" if [ ! -d /usr/include ] ; then echo "Error: Xcode Command Line Tools are not installed" |