summaryrefslogtreecommitdiff
path: root/config.lib
diff options
context:
space:
mode:
authorfonsinchen <fonsinchen@openttd.org>2013-08-10 12:47:08 +0000
committerfonsinchen <fonsinchen@openttd.org>2013-08-10 12:47:08 +0000
commit94add80602de7ad3f0957f7310d0f0f775c9d731 (patch)
treeb3ae821d03603f46b7316bb81f29ecbec9cab167 /config.lib
parent13855f0a09ea00c6b21aabcd7d7f90a2d947a734 (diff)
downloadopenttd-94add80602de7ad3f0957f7310d0f0f775c9d731.tar.xz
(svn r25706) -Fix: don't pass -mmacosx-version-min to compilers that don't support it
Diffstat (limited to 'config.lib')
-rw-r--r--config.lib2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.lib b/config.lib
index a92990e41..145d6c6f5 100644
--- a/config.lib
+++ b/config.lib
@@ -1558,7 +1558,7 @@ make_cflags_and_ldflags() {
LDFLAGS="$OSX_LD_SYSROOT $LDFLAGS"
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.
# Universal builds set the version elsewhere.
if [ "$cpu_type" = "64" ]; then