summaryrefslogtreecommitdiffstats
path: root/sub
diff options
context:
space:
mode:
authorStefano Pigozzi <stefano.pigozzi@gmail.com>2012-05-14 18:59:00 +0200
committerUoti Urpala <uau@mplayer2.org>2012-05-17 17:22:55 +0300
commit95438e54b8128061b1b8751943e69a5af2e338f1 (patch)
tree61025ba6738aac8e5901a3bdb2e3ab6a6ba83092 /sub
parentde1e483397bfe06b531adbdcd84c8d3d77d30a13 (diff)
downloadmpv-95438e54b8128061b1b8751943e69a5af2e338f1.tar.bz2
mpv-95438e54b8128061b1b8751943e69a5af2e338f1.tar.xz
configure: OSX: fix check for compiler-specific cflags
The configure script adds some compiler-specific flags for GCC on OSX. This was done under a check for compiler binary name not being clang. Move the test to after $cc_vendor has been determined and check against that instead. The previous test worked for clang if you explicitly specified --cc=clang, but not if the default system "cc" command was used and mapped to clang. Recent versions of Xcode changed the default compiler (cc) to clang. This caused a lot of spam from clang, which complained about the unknown flags when compiling with no explicit --cc option.
Diffstat (limited to 'sub')
0 files changed, 0 insertions, 0 deletions