mirror of https://github.com/mpv-player/mpv
configure: avoid unsupported options with clang on Darwin/PPC
Suppress unsupported compiler options when building with clang on Darwin/PPC. patch by Rowan James, rowanj@phere.net git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31910 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
bab0811d56
commit
2f1d60f422
|
@ -1409,7 +1409,10 @@ if netbsd || dragonfly ; then
|
|||
fi
|
||||
|
||||
if darwin; then
|
||||
extra_cflags="-mdynamic-no-pic -falign-loops=16 -shared-libgcc $extra_cflags"
|
||||
extra_cflags="-mdynamic-no-pic $extra_cflags"
|
||||
if test "$(basename $_cc)" != "clang" ; then
|
||||
extra_cflags="-falign-loops=16 -shared-libgcc $extra_cflags"
|
||||
fi
|
||||
_timer=timer-darwin.c
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue