summaryrefslogtreecommitdiff
path: root/data/libtapi/miphone.diff
blob: 382ba30af9f92edbc078a040c6affee0a70bb422 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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