mirror of
https://github.com/mpv-player/mpv.git
synced 2026-10-26 04:59:30 +08:00
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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user