mirror of
https://github.com/mpv-player/mpv
synced 2025-04-01 00:07:33 +00:00
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:
parent
adbe22d1b4
commit
2c48477e53
1
configure
vendored
1
configure
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user