Drop explicit stack-protection of pieces of the system [BZ #7065]
This commit is contained in:
parent
7cbb738d21
commit
1ad4ba28e9
|
@ -1,3 +1,10 @@
|
|||
2016-12-26 Nick Alcock <nick.alcock@oracle.com>
|
||||
|
||||
[BZ #7065]
|
||||
* login/Makefile (pt_chown-cflags): Remove.
|
||||
* nscd/Makefile (CFLAGS-nscd): Likewise.
|
||||
* resolv/Makefile (CFLAGS-libresolv): Likewise.
|
||||
|
||||
2016-12-26 Nick Alcock <nick.alcock@oracle.com>
|
||||
|
||||
[BZ #7065]
|
||||
|
|
|
@ -58,7 +58,6 @@ CFLAGS-getpt.c = -fexceptions
|
|||
ifeq (yesyes,$(have-fpie)$(build-shared))
|
||||
pt_chown-cflags += $(pie-ccflag)
|
||||
endif
|
||||
pt_chown-cflags += $(stack-protector)
|
||||
ifeq (yes,$(have-libcap))
|
||||
libcap = -lcap
|
||||
endif
|
||||
|
|
|
@ -84,7 +84,6 @@ CPPFLAGS-nscd += -D_FORTIFY_SOURCE=2
|
|||
ifeq (yesyes,$(have-fpie)$(build-shared))
|
||||
CFLAGS-nscd += $(pie-ccflag)
|
||||
endif
|
||||
CFLAGS-nscd += $(stack-protector)
|
||||
|
||||
ifeq (yesyes,$(have-fpie)$(build-shared))
|
||||
LDFLAGS-nscd = -Wl,-z,now
|
||||
|
|
|
@ -90,7 +90,6 @@ CPPFLAGS += -Dgethostbyname=res_gethostbyname \
|
|||
-Dgetnetbyname=res_getnetbyname \
|
||||
-Dgetnetbyaddr=res_getnetbyaddr
|
||||
|
||||
CFLAGS-libresolv += $(stack-protector)
|
||||
CFLAGS-res_hconf.c = -fexceptions
|
||||
|
||||
# The DNS NSS modules needs the resolver.
|
||||
|
|
Loading…
Reference in New Issue