mirror of
git://sourceware.org/git/glibc.git
synced 2025-03-06 20:58:33 +01:00
nscd: cleanup obsolete _FORTIFY_SOURCE setting
This was added in 233399bce2
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>
This commit is contained in:
parent
637aac2ae3
commit
5b61880ba3
1 changed files with 0 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue