(nscd-cflags): Add _FORTIFY_SOURCE.
authordrepper <drepper>
Mon, 18 Jul 2005 22:26:04 +0000 (22:26 +0000)
committerdrepper <drepper>
Mon, 18 Jul 2005 22:26:04 +0000 (22:26 +0000)
nscd/Makefile

index 2ebd90b..4b6f296 100644 (file)
@@ -84,7 +84,7 @@ CFLAGS-nscd_gethst_r.c = -fexceptions
 CFLAGS-nscd_getai.c = -fexceptions
 CFLAGS-nscd_initgroups.c = -fexceptions
 
-nscd-cflags = -DIS_IN_nscd=1
+nscd-cflags = -DIS_IN_nscd=1 -D_FORTIFY_SOURCE=2
 ifeq (yesyes,$(have-fpie)$(build-shared))
 nscd-cflags += -fpie
 endif