Browse Source

Fix macos jack2 bootstrap on M1

Signed-off-by: falkTX <falktx@falktx.com>
tags/v1.0
falkTX 9 months ago
parent
commit
5ab8acb214
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
2 changed files with 4 additions and 0 deletions
  1. +0
    -0
      patches/aften/01_fix-universal-build.patch
  2. +4
    -0
      setup/functions.sh

patches/aften/macos-universal/01_fix-universal-build.patch → patches/aften/01_fix-universal-build.patch View File


+ 4
- 0
setup/functions.sh View File

@@ -260,12 +260,16 @@ function build_cmake() {
fi
if [ "${MACOS}" -eq 1 ]; then
if [ "${MACOS_OLD}" -eq 1 ]; then
OSX_ARCHS="i686"
OSX_TARGET="10.5"
elif [ "${MACOS_UNIVERSAL}" -eq 1 ]; then
OSX_ARCHS="arm64,x86_64"
OSX_TARGET="10.12"
else
OSX_ARCHS="x86_64"
OSX_TARGET="10.8"
fi
extraconfrules+=" -DCMAKE_OSX_ARCHITECTURES=${OSX_ARCHS}"
extraconfrules+=" -DCMAKE_OSX_DEPLOYMENT_TARGET=${OSX_TARGET}"
fi



Loading…
Cancel
Save