summaryrefslogtreecommitdiff
path: root/nscd/Makefile
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2005-07-18 22:28:46 +0000
committerUlrich Drepper <drepper@redhat.com>2005-07-18 22:28:46 +0000
commit233399bce2e79e5af3b344782e9943d5f1a9cdcb (patch)
tree6c178b10c4b4e26409278419bdd2377b48ca7086 /nscd/Makefile
parent9f3731cf7f8f1d1b4718fdbeae2ca5d46bbc6950 (diff)
downloadglibc-233399bce2e79e5af3b344782e9943d5f1a9cdcb.tar.gz
* nscd/Makefile (nscd-cflags): Add _FORTIFY_SOURCE.
* nscd/connections.c: Fix a few wur warnings.
Diffstat (limited to 'nscd/Makefile')
-rw-r--r--nscd/Makefile2
1 files changed, 1 insertions, 1 deletions
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