Warnings: add AM_CFLAGS also for the psppire build
[pspp] / Makefile.am
index 3f4a9c6250a943e6e2b41d5c829ef31e91777895..59834123ac4bbbefe737d28fbdb8a59be38e5d5a 100644 (file)
@@ -32,7 +32,7 @@ AM_V_P ?= :
 AM_CFLAGS=
 
 if cc_is_gcc
-AM_CFLAGS+=-Wall -W -Wwrite-strings -Wstrict-prototypes \
+AM_CFLAGS+=-Wall -Wextra -Wwrite-strings -Wstrict-prototypes \
 -Wpointer-arith -Wno-sign-compare -Wmissing-prototypes
 endif