darwin flags cleanup by Dan Christiansen

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12645 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
alex committed 2004-06-25 16:17:16 +00:00
1 parent 6212d13de6
commit 66fe1def58
1 file changed
+5 -2
Vendored
+5 -2
View File
@@ -5817,8 +5817,11 @@ To do so, execute 'CFLAGS= ./configure <options>'
EOF
fi
if darwin ; then
# use gnu style cpp on Darwin
CFLAGS="$CFLAGS -no-cpp-precomp -DSYS_DARWIN -Wl,-bind_at_load"
CFLAGS="$CFLAGS -DSYS_DARWIN"
if [ "$_cc_major" = 3 ] && [ "$_cc_minor" -lt 1 ]; then
CFLAGS="$CFLAGS -no-cpp-precomp"
fi
# libavcodec (from ffmpeg) requires CONFIG_DARWIN to enable AltiVec on Darwin/MacOSX
test "$_altivec" = yes && CFLAGS="$CFLAGS -DCONFIG_DARWIN"
fi