summaryrefslogtreecommitdiff
path: root/nslcd/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'nslcd/Makefile.am')
-rw-r--r--nslcd/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/nslcd/Makefile.am b/nslcd/Makefile.am
index cda2716..8afc690 100644
--- a/nslcd/Makefile.am
+++ b/nslcd/Makefile.am
@@ -20,7 +20,7 @@
sbin_PROGRAMS = nslcd
-AM_CPPFLAGS=-I$(top_srcdir) -D_XOPEN_SOURCE=500 # for pthread_rwlock
+AM_CPPFLAGS=-I$(top_srcdir) -D_FORTIFY_SOURCE=2 -D_XOPEN_SOURCE=500
AM_CFLAGS = -std=c99 $(PTHREAD_CFLAGS) -Wall -Werror -Wextra -Wno-unused-parameter
nslcd_SOURCES = nslcd.c ../nslcd.h ../common/nslcd-prot.h \