We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bfee718 commit 04195afCopy full SHA for 04195af
targets/macosx/host_macosx
@@ -41,6 +41,10 @@ if [ "X$SYS_ABI" = "X" ]; then
41
fi
42
43
SYS_HOST_CC="gcc $SYS_DEBUGFLAG -DMACOSX -m$SYS_ABI"
44
+export MACOSX_DEPLOYMENT_TARGET=10.6
45
+if [ "$cflag_additions" == "${cflag_additions%mmacosx-version-min*}" ]; then
46
+ cflag_additions="$cflag_additions -mmacosx-version-min=10.6"
47
+fi
48
49
SDKROOT=`ls -1d $SYS_PREFIXROOT/gcc/$SYS_HOSTPLATFORM/gcc-* 2> /dev/null`
50
if [ -d "$SDKROOT" ]; then
0 commit comments