projects
/
platform
/
upstream
/
libgc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f84fc54
)
Pass -Wall -Wextra -Wpedantic to g++ if supported (configure)
author
Ivan Maidanski
<ivmai@mail.ru>
Thu, 11 Oct 2018 21:33:56 +0000
(
00:33
+0300)
committer
Ivan Maidanski
<ivmai@mail.ru>
Thu, 11 Oct 2018 21:33:56 +0000
(
00:33
+0300)
* configure.ac [$GCC=yes] (CXXFLAGS): Prepend -Wall $WEXTRA $WPEDANTIC.
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
f891759
..
21abe8f
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-402,6
+402,7
@@
if test "$GCC" = yes; then
AS_IF([test "$ac_cv_cc_pedantic" = yes],
[WPEDANTIC="-Wpedantic -Wno-long-long"])
CFLAGS="-Wall $WEXTRA $WPEDANTIC $CFLAGS"
+ CXXFLAGS="-Wall $WEXTRA $WPEDANTIC $CXXFLAGS"
fi
AC_MSG_CHECKING(for xlc)