From 94add80602de7ad3f0957f7310d0f0f775c9d731 Mon Sep 17 00:00:00 2001 From: fonsinchen Date: Sat, 10 Aug 2013 12:47:08 +0000 Subject: [PATCH] (svn r25706) -Fix: don't pass -mmacosx-version-min to compilers that don't support it --- config.lib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.lib b/config.lib index a92990e410..145d6c6f5d 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