diff options
Diffstat (limited to 'data/libtapi/miphone.diff')
-rw-r--r-- | data/libtapi/miphone.diff | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/data/libtapi/miphone.diff b/data/libtapi/miphone.diff new file mode 100644 index 000000000..382ba30af --- /dev/null +++ b/data/libtapi/miphone.diff @@ -0,0 +1,39 @@ +diff -ur apple-libtapi/src/apple-llvm/src/Makefile.rules apple-libtapi+iPhone/src/apple-llvm/src/Makefile.rules +--- apple-libtapi/src/apple-llvm/src/Makefile.rules 2018-08-05 15:37:17.000000000 -1000 ++++ apple-libtapi+iPhone/src/apple-llvm/src/Makefile.rules 2018-08-05 15:52:24.000000000 -1000 +@@ -576,10 +576,6 @@ + SharedLinkOptions := -dynamiclib + ifdef DEPLOYMENT_TARGET + SharedLinkOptions += $(DEPLOYMENT_TARGET) +- else +- ifneq ($(ARCH),ARM) +- SharedLinkOptions += -mmacosx-version-min=$(DARWIN_VERSION) +- endif + endif + else + SharedLinkOptions=-shared +@@ -588,10 +584,6 @@ + ifeq ($(TARGET_OS),Darwin) + ifdef DEPLOYMENT_TARGET + TargetCommonOpts += $(DEPLOYMENT_TARGET) +- else +- ifneq ($(ARCH),ARM) +- TargetCommonOpts += -mmacosx-version-min=$(DARWIN_VERSION) +- endif + endif + endif + +diff -ur apple-libtapi/src/apple-llvm/src/utils/buildit/build_llvm apple-libtapi+iPhone/src/apple-llvm/src/utils/buildit/build_llvm +--- apple-libtapi/src/apple-llvm/src/utils/buildit/build_llvm 2018-08-05 15:37:18.000000000 -1000 ++++ apple-libtapi+iPhone/src/apple-llvm/src/utils/buildit/build_llvm 2018-08-05 15:53:09.000000000 -1000 +@@ -189,10 +189,6 @@ + export CXX=`xcrun -sdk macosx -find clang++` + + configure_opts="--enable-targets=arm,arm64,x86" +- if [ -n "$MACOSX_DEPLOYMENT_TARGET" ]; then +- COMMON_MAKEFLAGS="$COMMON_MAKEFLAGS \ +- DEPLOYMENT_TARGET=-mmacosx-version-min=$MACOSX_DEPLOYMENT_TARGET" +- fi + fi + + if [ $SDKROOT_PATH ]; then |