Tweaks for a proper macOS 10.12 build
This commit is contained in:
parent
1e66d1cb85
commit
6dacdef9fb
|
@ -337,6 +337,11 @@ fi
|
||||||
|
|
||||||
# cleanup
|
# cleanup
|
||||||
|
|
||||||
|
if [ $(clang -v 2>&1 | grep version | cut -d' ' -f4 | cut -d'.' -f1) -lt 11 ]; then
|
||||||
|
export ARCH=32
|
||||||
|
build_base
|
||||||
|
fi
|
||||||
|
|
||||||
export ARCH=64
|
export ARCH=64
|
||||||
build_base
|
build_base
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,7 @@ fi
|
||||||
|
|
||||||
source data/macos/common.env
|
source data/macos/common.env
|
||||||
|
|
||||||
if [ $(clang -v 2>&1 | grep version | cut -d' ' -f4 | cut -d'.' -f1) -lt 11 ]; then
|
if [ $(uname -r | cut -d '.' -f 1) -lt 16 ]; then
|
||||||
export MACOS_VERSION_MIN="10.8"
|
export MACOS_VERSION_MIN="10.8"
|
||||||
else
|
else
|
||||||
export MACOS_VERSION_MIN="10.12"
|
export MACOS_VERSION_MIN="10.12"
|
||||||
|
@ -54,7 +54,7 @@ make USING_JUCE=${USING_JUCE} USING_JUCE_AUDIO_DEVICES=${USING_JUCE} ${MAKE_ARGS
|
||||||
##############################################################################################
|
##############################################################################################
|
||||||
# Build 32bit bridges
|
# Build 32bit bridges
|
||||||
|
|
||||||
if [ "${MACOS_VERSION_MIN}" != "10.12" ]; then
|
if [ $(clang -v 2>&1 | grep version | cut -d' ' -f4 | cut -d'.' -f1) -lt 11 ]; then
|
||||||
|
|
||||||
export CFLAGS="-I${TARGETDIR}/carla32/include -m32 -mmacosx-version-min=${MACOS_VERSION_MIN}"
|
export CFLAGS="-I${TARGETDIR}/carla32/include -m32 -mmacosx-version-min=${MACOS_VERSION_MIN}"
|
||||||
export CXXFLAGS="${CFLAGS} -stdlib=libc++ -Wno-unknown-pragmas -Wno-unused-private-field -Werror=auto-var-id"
|
export CXXFLAGS="${CFLAGS} -stdlib=libc++ -Wno-unknown-pragmas -Wno-unused-private-field -Werror=auto-var-id"
|
||||||
|
|
Loading…
Reference in New Issue