mirror of https://github.com/mpv-player/mpv
Keep unused parameter warnings in debug mode.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23466 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
b45d54c128
commit
81116afae7
|
@ -2244,9 +2244,6 @@ echores $_named_asm_args
|
|||
_install_strip="-s"
|
||||
if test "$_profile" != "" || test "$_debug" != "" ; then
|
||||
CFLAGS="-W -Wall -O2 $_march $_mcpu $_debug $_profile"
|
||||
if test "$_cc_major" -ge "3" ; then
|
||||
CFLAGS=`echo "$CFLAGS" | sed -e 's/\(-Wall\)/\1 -Wno-unused-parameter/'`
|
||||
fi
|
||||
_install_strip=
|
||||
elif test -z "$CFLAGS" ; then
|
||||
if test "$cc_vendor" = "intel" ; then
|
||||
|
|
Loading…
Reference in New Issue