Add -ffast-math to LDFLAGS as well as to CFLAGS.

patch by Piotr Kaczuba, pepe attika.ath cx


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28694 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego
2009-02-21 20:25:02 +00:00
parent adbe22d1b4
commit 2c48477e53
Vendored
+1
View File
@@ -2398,6 +2398,7 @@ elif test -z "$CFLAGS" ; then
CFLAGS="-O2 $_march $_mcpu $_pipe"
else
CFLAGS="-Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 $_march $_mcpu $_pipe -ffast-math -fomit-frame-pointer"
_ld_extra="$_ld_extra -ffast-math"
fi
else
_warn_CFLAGS=yes