diff options
Diffstat (limited to 'nscd')
-rw-r--r-- | nscd/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nscd/Makefile b/nscd/Makefile index 4b6f2967a5..5a2d29a0a5 100644 --- a/nscd/Makefile +++ b/nscd/Makefile @@ -88,6 +88,9 @@ nscd-cflags = -DIS_IN_nscd=1 -D_FORTIFY_SOURCE=2 ifeq (yesyes,$(have-fpie)$(build-shared)) nscd-cflags += -fpie endif +ifeq (yes,$(have-ssp)) +nscd-cflags += -fstack-protector +endif CFLAGS-nscd.c += $(nscd-cflags) CFLAGS-connections.c += $(nscd-cflags) |