Просмотр исходного кода

Revert ClientLibrary -mios-version-min to 7.0

Rod Hynes 5 лет назад
Родитель
Сommit
78e9d78deb
2 измененных файлов с 3 добавлено и 2 удалено
  1. 2 1
      ClientLibrary/build-darwin.sh
  2. 1 1
      ClientLibrary/clangwrap.sh

+ 2 - 1
ClientLibrary/build-darwin.sh

@@ -9,7 +9,8 @@ if [ -z ${2+x} ]; then BUILD_TAGS=""; else BUILD_TAGS="$2"; fi
 # Note:
 #   clangwrap.sh needs to be updated when the Go version changes.
 #   The last version was:
-#   https://github.com/golang/go/blob/go1.14.4/misc/ios/clangwrap.sh.
+#   https://github.com/golang/go/blob/go1.14.4/misc/ios/clangwrap.sh
+#     - with a patch to lower -mios-version-min to 7.0
 GO_VERSION_REQUIRED="1.14.4"
 
 BASE_DIR=$(cd "$(dirname "$0")" ; pwd -P)

+ 1 - 1
ClientLibrary/clangwrap.sh

@@ -17,4 +17,4 @@ else
 	exit 1
 fi
 
-exec $CLANG -arch $CLANGARCH -isysroot $SDK_PATH -mios-version-min=10.0 "$@"
+exec $CLANG -arch $CLANGARCH -isysroot $SDK_PATH -mios-version-min=7.0 "$@"