summaryrefslogtreecommitdiff
path: root/compat
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2014-12-15 04:35:09 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2014-12-15 04:35:09 -0500
commit2a86df94e9441527456e0d24648039882031a9a2 (patch)
treeae1769334a4efd35ba7524b294ac186942df5d97 /compat
parent24a303bc75ce02d3242dc76869e5ec91f81a29f3 (diff)
be stricter everywhere (-D_FORTIFY_SOURCE=2)
Diffstat (limited to 'compat')
-rw-r--r--compat/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/compat/Makefile.am b/compat/Makefile.am
index b240b1c..922b7c6 100644
--- a/compat/Makefile.am
+++ b/compat/Makefile.am
@@ -19,8 +19,8 @@
noinst_LIBRARIES = libcompat.a
-AM_CPPFLAGS=-I$(top_srcdir)
-AM_CFLAGS = -fPIC
+AM_CPPFLAGS=-I$(top_srcdir) -D_FORTIFY_SOURCE=2
+AM_CFLAGS = -fPIC -Wall -Werror -Wextra -Wno-unused-parameter
EXTRA_DIST = getopt_long.c getopt_long.h \
shell.h \