2010-10-15 17:56:01 +00:00
|
|
|
http://sources.redhat.com/bugzilla/show_bug.cgi?id=12125
|
|
|
|
|
|
|
|
|
|
diff --git a/nscd/Makefile b/nscd/Makefile
|
|
|
|
|
index 93874e5..63f7144 100644
|
|
|
|
|
--- a/nscd/Makefile
|
|
|
|
|
+++ b/nscd/Makefile
|
|
|
|
|
@@ -90,6 +90,9 @@ CFLAGS-nscd_initgroups.c = -fexceptions
|
|
|
|
|
nscd-cflags = -DIS_IN_nscd=1 -D_FORTIFY_SOURCE=2
|
|
|
|
|
ifeq (yesyes,$(have-fpie)$(build-shared))
|
|
|
|
|
nscd-cflags += $(pie-ccflag)
|
|
|
|
|
+ifeq (yes,$(have-ssp))
|
2010-10-15 22:58:12 +00:00
|
|
|
+link-extra-libs += -Wl,-Bstatic -lssp -Wl,-Bdynamic
|
2010-10-15 17:56:01 +00:00
|
|
|
+endif
|
|
|
|
|
endif
|
|
|
|
|
ifeq (yes,$(have-ssp))
|
|
|
|
|
nscd-cflags += -fstack-protector
|