Mercurial > mplayer.hg
comparison configure @ 33158:775c82e1ece9
Add -Werror-implicit-function-declaration to default gcc compile flags.
author | reimar |
---|---|
date | Sat, 09 Apr 2011 22:08:01 +0000 |
parents | 7e7d9c19f3d9 |
children | 18eb947fc34d |
comparison
equal
deleted
inserted
replaced
33157:8073274a9ff2 | 33158:775c82e1ece9 |
---|---|
2581 CFLAGS="-O2 $_march $_pipe" | 2581 CFLAGS="-O2 $_march $_pipe" |
2582 elif test "$cc_vendor" != "gnu" ; then | 2582 elif test "$cc_vendor" != "gnu" ; then |
2583 CFLAGS="-O2 $_march $_mcpu $_pipe" | 2583 CFLAGS="-O2 $_march $_mcpu $_pipe" |
2584 else | 2584 else |
2585 CFLAGS="-O4 $_march $_mcpu $_pipe -ffast-math -fomit-frame-pointer" | 2585 CFLAGS="-O4 $_march $_mcpu $_pipe -ffast-math -fomit-frame-pointer" |
2586 WARNFLAGS="-Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls" | 2586 WARNFLAGS="-Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror-implicit-function-declaration" |
2587 extra_ldflags="$extra_ldflags -ffast-math" | 2587 extra_ldflags="$extra_ldflags -ffast-math" |
2588 fi | 2588 fi |
2589 else | 2589 else |
2590 warn_cflags=yes | 2590 warn_cflags=yes |
2591 fi | 2591 fi |