From 233399bce2e79e5af3b344782e9943d5f1a9cdcb Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 18 Jul 2005 22:28:46 +0000 Subject: * nscd/Makefile (nscd-cflags): Add _FORTIFY_SOURCE. * nscd/connections.c: Fix a few wur warnings. --- nscd/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nscd/Makefile') diff --git a/nscd/Makefile b/nscd/Makefile index 2ebd90b989..4b6f2967a5 100644 --- a/nscd/Makefile +++ b/nscd/Makefile @@ -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 -- cgit v1.2.3