[gjs] Drop incorrect CXXFLAGS
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs] Drop incorrect CXXFLAGS
- Date: Thu, 10 Mar 2011 21:29:36 +0000 (UTC)
commit 036873137f675c7785cbd76689b067fb0ab058a2
Author: Marc-Antoine Perennou <Marc-Antoine Perennou com>
Date: Fri Mar 4 17:25:52 2011 +0100
Drop incorrect CXXFLAGS
-Wmissing-prototypes and -Wnested-externs are not supported in CXXFLAGS
https://bugzilla.gnome.org/show_bug.cgi?id=643325
configure.ac | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 96c907b..0f2769b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -49,12 +49,13 @@ changequote([,])dnl
if test "$GCC" = "yes"; then
for flag in -Wall -Wchar-subscripts -Wmissing-declarations \
- -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align \
- -Wsign-compare;
+ -Wpointer-arith -Wcast-align -Wsign-compare;
do
CFLAGS="`ensureflag $flag $CFLAGS`"
CXXFLAGS="`ensureflag $flag $CXXFLAGS`"
done
+ CFLAGS="`ensureflag -Wmissing-prototypes $CFLAGS`"
+ CFLAGS="`ensureflag -Wnested-externs $CFLAGS`"
fi
# coverage
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]