summaryrefslogtreecommitdiff
path: root/tests
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 /tests
parent24a303bc75ce02d3242dc76869e5ec91f81a29f3 (diff)
be stricter everywhere (-D_FORTIFY_SOURCE=2)
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 867ca02..9674551 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -37,8 +37,8 @@ EXTRA_DIST = README nslcd-test.conf usernames.txt testenv.sh test_myldap.sh \
CLEANFILES = $(EXTRA_PROGRAMS)
-AM_CPPFLAGS = -I$(top_srcdir)
-AM_CFLAGS = $(PTHREAD_CFLAGS) -g
+AM_CPPFLAGS = -I$(top_srcdir) -D_FORTIFY_SOURCE=2
+AM_CFLAGS = $(PTHREAD_CFLAGS) -g -Wall -Werror -Wextra -Wno-unused-parameter
test_dict_SOURCES = test_dict.c ../common/dict.h
test_dict_LDADD = ../common/libdict.a