# HG changeset patch # User fonsinchen # Date 2013-08-10 12:47:08 # Node ID 88756e6a970d0dddbd38a01b82812558657a96c4 # Parent 47a3e7edbb11b1950d6f0b759ee4f6a93f37aa2d (svn r25706) -Fix: don't pass -mmacosx-version-min to compilers that don't support it diff --git a/config.lib b/config.lib --- 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