mirror of https://github.com/OpenTTD/OpenTTD
(svn r25706) -Fix: don't pass -mmacosx-version-min to compilers that don't support it
parent
13855f0a09
commit
94add80602
|
@ -1558,7 +1558,7 @@ make_cflags_and_ldflags() {
|
||||||
LDFLAGS="$OSX_LD_SYSROOT $LDFLAGS"
|
LDFLAGS="$OSX_LD_SYSROOT $LDFLAGS"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$enable_universal" = "0" ] && [ $cc_version -ge 40 ]; then
|
if [ "$enable_universal" = "0" ] && [ $cc_version -gt 40 ]; then
|
||||||
# Only set the min version when not doing an universal build.
|
# Only set the min version when not doing an universal build.
|
||||||
# Universal builds set the version elsewhere.
|
# Universal builds set the version elsewhere.
|
||||||
if [ "$cpu_type" = "64" ]; then
|
if [ "$cpu_type" = "64" ]; then
|
||||||
|
|
Loading…
Reference in New Issue