projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
configure: Enable GCC warnings to report use of C2x features.
[pspp]
/
Makefile.am
diff --git
a/Makefile.am
b/Makefile.am
index 5967656765c580e84dfe9554036ad2a48f7596af..8b44e82efcd760cfbd17ac186e088339494b3d8e 100644
(file)
--- a/
Makefile.am
+++ b/
Makefile.am
@@
-30,12
+30,7
@@
AM_CPPFLAGS = \
AM_V_P ?= :
AM_V_P ?= :
-AM_CFLAGS=
-
-if cc_is_gcc
-AM_CFLAGS+=-Wall -Wextra -Wwrite-strings -Wstrict-prototypes \
--Wpointer-arith -Wno-sign-compare -Wmissing-prototypes
-endif
+AM_CFLAGS=$(WARNING_FLAGS)
pkgsysconfdir = $(sysconfdir)/$(PACKAGE)
pkgsysconfdir = $(sysconfdir)/$(PACKAGE)