# HG changeset patch # User diego # Date 1311635786 0 # Node ID 495340edba54046cd475f973d5361a93eb682a64 # Parent 1e096f5e51c7a56ca8795431ac303cda7f65696a configure: do not add -Werror-implicit-function-declaration to CXXFLAGS This warning option is C-only, so do not use it for C++. diff -r 1e096f5e51c7 -r 495340edba54 configure --- a/configure Mon Jul 25 23:16:23 2011 +0000 +++ b/configure Mon Jul 25 23:16:26 2011 +0000 @@ -2555,7 +2555,8 @@ CFLAGS="-O2 $_march $_mcpu $_pipe" else CFLAGS="-O4 $_march $_mcpu $_pipe -ffast-math -fomit-frame-pointer" - WARNFLAGS="-Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror-implicit-function-declaration" + WARNFLAGS="-Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls" + WARN_CFLAGS="-Werror-implicit-function-declaration" extra_ldflags="$extra_ldflags -ffast-math" fi else