Browse Source

Tweaks for a proper macOS 10.12 build

tags/v2.3.0-RC1
falkTX 4 years ago
parent
commit
6dacdef9fb
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
3 changed files with 7 additions and 2 deletions
  1. +5
    -0
      data/macos/build-deps-new.sh
  2. +2
    -2
      data/macos/build.sh
  3. +0
    -0
      data/patches/qt59-osx10.12-compat.patch

+ 5
- 0
data/macos/build-deps-new.sh View File

@@ -337,6 +337,11 @@ fi

# 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
build_base



+ 2
- 2
data/macos/build.sh View File

@@ -20,7 +20,7 @@ fi

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"
else
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

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 CXXFLAGS="${CFLAGS} -stdlib=libc++ -Wno-unknown-pragmas -Wno-unused-private-field -Werror=auto-var-id"


+ 0
- 0
data/patches/qt59-osx10.12-compat.patch View File


Loading…
Cancel
Save