Skip to content

Commit 4f49228

Browse files
committed
Merge remote-tracking branch 'isuruf/libcompiler-rt' into tsan
2 parents 0e98a4a + abae5a5 commit 4f49228

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

Tools/pixi-packages/build.sh

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,19 @@ else
1717
exit 1
1818
fi
1919

20+
# rattler-build by default set a target of 10.9
21+
# override it to at least 10.12
22+
case ${MACOSX_DEPLOYMENT_TARGET:-10.12} in
23+
10.12|10.13|10.14|10.15|10.16)
24+
;;
25+
10.*)
26+
export CPPFLAGS=${CPPFLAGS/-mmacosx-version-min=${MACOSX_DEPLOYMENT_TARGET}/-mmacosx-version-min=10.12}
27+
export MACOSX_DEPLOYMENT_TARGET=10.12
28+
;;
29+
*)
30+
;;
31+
esac
32+
2033
BUILD_DIR="../build_${PYTHON_VARIANT}"
2134
mkdir -p "${BUILD_DIR}"
2235
cd "${BUILD_DIR}"

0 commit comments

Comments
 (0)