mirror of https://github.com/mpv-player/mpv
For future development - the most warnings are enabled for --debug or --profile
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1070 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
412ceff376
commit
4b6f69ec2a
|
@ -1184,7 +1184,7 @@ fi
|
|||
|
||||
# Checking for CFLAGS
|
||||
if [ "$_profile" != "" ] || [ "$_debug" != "" ]; then
|
||||
CFLAGS="-O2 -march=$proc -mcpu=$proc $_debug $_profile"
|
||||
CFLAGS="-W -Wall -O2 -march=$proc -mcpu=$proc $_debug $_profile"
|
||||
else
|
||||
if test -z "$CFLAGS"; then
|
||||
CFLAGS="-O4 -march=$proc -mcpu=$proc -pipe -ffast-math -fomit-frame-pointer"
|
||||
|
|
Loading…
Reference in New Issue