diff options
author | rathann <rathann@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-11-25 02:19:27 +0000 |
---|---|---|
committer | rathann <rathann@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-11-25 02:19:27 +0000 |
commit | 3160c935c208a3e9dc80fd7b9cc274f0b9e93eb5 (patch) | |
tree | 87086f3e048c8ee488253e19899c8c8d1c5b10f6 /configure | |
parent | 422acb829c967462e4f39da5b05741c30e548ff7 (diff) | |
download | mpv-3160c935c208a3e9dc80fd7b9cc274f0b9e93eb5.tar.bz2 mpv-3160c935c208a3e9dc80fd7b9cc274f0b9e93eb5.tar.xz |
reversing my patch to check for -Wall support & use it if available (requested by A'rpi)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8274 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 17 |
1 files changed, 2 insertions, 15 deletions
@@ -2164,19 +2164,6 @@ else fi echores "$_sys_sysinfo" -echocheck "-Wall option" -cat > $TMPC << EOF -int main(void) { return 0; } -EOF -_wall=no -cc_check -Wall && _wall=yes -if test "$_wall" = yes ; then - _ld_wall='-Wall' -else - _ld_wall='' -fi -echores "$_wall" - ######### # VIDEO # @@ -4403,9 +4390,9 @@ if test "$_profile" != "" || test "$_debug" != "" ; then _stripbinaries=no elif test -z "$CFLAGS" ; then if test "$host_arch" != "mips" ; then - CFLAGS="-O4 $_march $_mcpu -pipe -ffast-math -fomit-frame-pointer $_ld_wall" + CFLAGS="-O4 $_march $_mcpu -pipe -ffast-math -fomit-frame-pointer" else - CFLAGS="-O4 $_march $_mcpu -ffast-math -fomit-frame-pointer $_ld_wall" + CFLAGS="-O4 $_march $_mcpu -ffast-math -fomit-frame-pointer" fi # always compile with '-g' if .developer: if test -f ".developer" ; then |