Mercurial > mplayer.hg
comparison configure @ 23448:87c61466bf62
Keep unused parameter warnings in debug mode.
author | diego |
---|---|
date | Tue, 05 Jun 2007 00:26:54 +0000 |
parents | ea40d5263edc |
children | e43369ba24e0 |
comparison
equal
deleted
inserted
replaced
23447:3ee9967b7209 | 23448:87c61466bf62 |
---|---|
2242 | 2242 |
2243 # Checking for CFLAGS | 2243 # Checking for CFLAGS |
2244 _install_strip="-s" | 2244 _install_strip="-s" |
2245 if test "$_profile" != "" || test "$_debug" != "" ; then | 2245 if test "$_profile" != "" || test "$_debug" != "" ; then |
2246 CFLAGS="-W -Wall -O2 $_march $_mcpu $_debug $_profile" | 2246 CFLAGS="-W -Wall -O2 $_march $_mcpu $_debug $_profile" |
2247 if test "$_cc_major" -ge "3" ; then | |
2248 CFLAGS=`echo "$CFLAGS" | sed -e 's/\(-Wall\)/\1 -Wno-unused-parameter/'` | |
2249 fi | |
2250 _install_strip= | 2247 _install_strip= |
2251 elif test -z "$CFLAGS" ; then | 2248 elif test -z "$CFLAGS" ; then |
2252 if test "$cc_vendor" = "intel" ; then | 2249 if test "$cc_vendor" = "intel" ; then |
2253 CFLAGS="-O2 $_march $_mcpu $_pipe -fomit-frame-pointer" | 2250 CFLAGS="-O2 $_march $_mcpu $_pipe -fomit-frame-pointer" |
2254 elif test "$cc_vendor" != "gnu" ; then | 2251 elif test "$cc_vendor" != "gnu" ; then |