Commit 703b5a98 authored by Rye Mutt's avatar Rye Mutt 🍞
Browse files

Update macos build flags for 10.15 sdk with 10.13 target

parent 0fbd4c97
Pipeline #198 skipped
......@@ -95,14 +95,14 @@ pushd "$top/nghttp2"
;;
darwin*)
opts="${TARGET_OPTS:--arch $AUTOBUILD_CONFIGURE_ARCH $LL_BUILD_RELEASE}"
opts="${TARGET_OPTS:--arch x86_64 -iwithsysroot macosx10.15 -mmacosx-version-min=10.13 -fno-strict-aliasing -mavx -mprefer-vector-width=128 -g}"
mkdir -p "build"
pushd "build"
cmake -G "Xcode" .. -DCMAKE_C_FLAGS:STRING="$opts" \
-DCMAKE_CXX_FLAGS:STRING="$opts" \
-DCMAKE_INSTALL_PREFIX="$stage" \
-DCMAKE_OSX_SYSROOT="macosx10.14" \
-DCMAKE_OSX_SYSROOT="macosx10.15" \
-DCMAKE_OSX_DEPLOYMENT_TARGET="10.13" \
-DENABLE_STATIC_LIB=ON -DENABLE_SHARED_LIB=OFF \
-DENABLE_LIB_ONLY=ON
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment