aboutsummaryrefslogtreecommitdiff
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
parent* nscd/grpcache.c (cache_addgr): Use correct maximum for group ID (diff)
downloadglibc-233399bce2e79e5af3b344782e9943d5f1a9cdcb.tar.gz
glibc-233399bce2e79e5af3b344782e9943d5f1a9cdcb.tar.bz2
glibc-233399bce2e79e5af3b344782e9943d5f1a9cdcb.zip
* 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