[MPlayer-cvslog] r33922 - trunk/configure
diego
subversion at mplayerhq.hu
Tue Jul 26 01:16:26 CEST 2011
Author: diego
Date: Tue Jul 26 01:16:26 2011
New Revision: 33922
Log:
configure: do not add -Werror-implicit-function-declaration to CXXFLAGS
This warning option is C-only, so do not use it for C++.
Modified:
trunk/configure
Modified: trunk/configure
==============================================================================
--- trunk/configure Tue Jul 26 01:16:23 2011 (r33921)
+++ trunk/configure Tue Jul 26 01:16:26 2011 (r33922)
@@ -2555,7 +2555,8 @@ elif test -z "$CFLAGS" ; then
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
More information about the MPlayer-cvslog
mailing list