From 4c279e8b6d1c80c50bd5f4c8724087ee7e16953e Mon Sep 17 00:00:00 2001 From: Tom Jacobs Date: Sat, 26 Sep 2020 13:06:07 -0400 Subject: [PATCH 1/3] Fix for iPhone 11 --- build-libopus.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build-libopus.sh b/build-libopus.sh index ff2dbfb..11a685b 100755 --- a/build-libopus.sh +++ b/build-libopus.sh @@ -47,7 +47,7 @@ fi # No need to change this since xcode build will only compile in the # necessary bits from the libraries we create -ARCHS="i386 x86_64 armv7 armv7s arm64" +ARCHS="x86_64 armv7 armv7s arm64" DEVELOPER=`xcode-select -print-path` #DEVELOPER="/Applications/Xcode.app/Contents/Developer" @@ -116,7 +116,7 @@ do ./configure --enable-float-approx --disable-shared --enable-static --with-pic --disable-extra-programs --disable-doc ${EXTRA_CONFIG} \ --prefix="${INTERDIR}/${PLATFORM}${SDKVERSION}-${ARCH}.sdk" \ LDFLAGS="$LDFLAGS ${OPT_LDFLAGS} -fPIE -miphoneos-version-min=${MINIOSVERSION} -L${OUTPUTDIR}/lib" \ - CFLAGS="$CFLAGS ${EXTRA_CFLAGS} ${OPT_CFLAGS} -fPIE -miphoneos-version-min=${MINIOSVERSION} -I${OUTPUTDIR}/include -isysroot ${DEVELOPER}/Platforms/${PLATFORM}.platform/Developer/SDKs/${PLATFORM}${SDKVERSION}.sdk" \ + CFLAGS="$CFLAGS ${EXTRA_CFLAGS} ${OPT_CFLAGS} -fPIE -miphoneos-version-min=${MINIOSVERSION} -I${OUTPUTDIR}/include " #-isysroot ${DEVELOPER}/Platforms/${PLATFORM}.platform/Developer/SDKs/${PLATFORM}${SDKVERSION}.sdk" \ # Build the application and install it to the fake SDK intermediary dir # we have set up. Make sure to clean up afterward because we will re-use From 832fdb72ff34aea5d4bf8d3432dcca6ef8d91299 Mon Sep 17 00:00:00 2001 From: Tom Jacobs Date: Sat, 26 Sep 2020 13:11:24 -0400 Subject: [PATCH 2/3] Update build-libopus.sh --- build-libopus.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build-libopus.sh b/build-libopus.sh index 11a685b..ed4c885 100755 --- a/build-libopus.sh +++ b/build-libopus.sh @@ -23,7 +23,7 @@ # Choose your libopus version and your currently-installed iOS SDK version: # VERSION="1.3" -SDKVERSION="10.2" +SDKVERSION="13.6" MINIOSVERSION="8.0" ########################################################################### @@ -47,7 +47,7 @@ fi # No need to change this since xcode build will only compile in the # necessary bits from the libraries we create -ARCHS="x86_64 armv7 armv7s arm64" +ARCHS="x86_64 arm64" #armv7 armv7s DEVELOPER=`xcode-select -print-path` #DEVELOPER="/Applications/Xcode.app/Contents/Developer" @@ -116,7 +116,7 @@ do ./configure --enable-float-approx --disable-shared --enable-static --with-pic --disable-extra-programs --disable-doc ${EXTRA_CONFIG} \ --prefix="${INTERDIR}/${PLATFORM}${SDKVERSION}-${ARCH}.sdk" \ LDFLAGS="$LDFLAGS ${OPT_LDFLAGS} -fPIE -miphoneos-version-min=${MINIOSVERSION} -L${OUTPUTDIR}/lib" \ - CFLAGS="$CFLAGS ${EXTRA_CFLAGS} ${OPT_CFLAGS} -fPIE -miphoneos-version-min=${MINIOSVERSION} -I${OUTPUTDIR}/include " #-isysroot ${DEVELOPER}/Platforms/${PLATFORM}.platform/Developer/SDKs/${PLATFORM}${SDKVERSION}.sdk" \ + CFLAGS="$CFLAGS ${EXTRA_CFLAGS} ${OPT_CFLAGS} -fPIE -miphoneos-version-min=${MINIOSVERSION} -I${OUTPUTDIR}/include -isysroot ${DEVELOPER}/Platforms/${PLATFORM}.platform/Developer/SDKs/${PLATFORM}${SDKVERSION}.sdk" \ # Build the application and install it to the fake SDK intermediary dir # we have set up. Make sure to clean up afterward because we will re-use From 2743df50818b671548ce84bef9ac825f1b97951c Mon Sep 17 00:00:00 2001 From: Tom Jacobs Date: Sat, 26 Sep 2020 13:13:58 -0400 Subject: [PATCH 3/3] Update build-libopus.sh --- build-libopus.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-libopus.sh b/build-libopus.sh index ed4c885..b75c784 100755 --- a/build-libopus.sh +++ b/build-libopus.sh @@ -47,7 +47,7 @@ fi # No need to change this since xcode build will only compile in the # necessary bits from the libraries we create -ARCHS="x86_64 arm64" #armv7 armv7s +ARCHS="x86_64 arm64" DEVELOPER=`xcode-select -print-path` #DEVELOPER="/Applications/Xcode.app/Contents/Developer"