]> sourceware.org Git - glibc.git/commitdiff
nscd: cleanup obsolete _FORTIFY_SOURCE setting
authorSam James <sam@gentoo.org>
Tue, 25 Jul 2023 20:04:31 +0000 (21:04 +0100)
committerAndreas K. Hüttel <dilfridge@gentoo.org>
Tue, 25 Jul 2023 20:16:43 +0000 (22:16 +0200)
This was added in 233399bce2e79e5af3b344782e9943d5f1a9cdcb just for warn_if_unused
warnings rather than anything substantial.

Now that we have a proper configure argument for F_S (--enable-fortify-source),
just drop this entirely, to avoid conflicting with e.g. detected --enable-fortify-source
finding F_S=3, then nscd's Makefile setting F_S=2, resulting in a build-failure
because of the redefinition.

Signed-off-by: Sam James <sam@gentoo.org>
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Reviewed-by: Andreas K. Hüttel <dilfridge@gentoo.org>
nscd/Makefile

index c2e70d33b70f7f2ea2782b14efde87457119eed6..2a0489f4cfd4437c7278d371922132b29a1c71c4 100644 (file)
@@ -79,8 +79,6 @@ CFLAGS-nscd_gethst_r.c += -fexceptions
 CFLAGS-nscd_getai.c += -fexceptions
 CFLAGS-nscd_initgroups.c += -fexceptions
 
-CPPFLAGS-nscd += -D_FORTIFY_SOURCE=2
-
 ifeq (yesyes,$(have-fpie)$(build-shared))
 CFLAGS-nscd += $(pie-ccflag)
 endif
This page took 0.040564 seconds and 5 git commands to generate.