mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-28 00:21:52 +03:00
Add rules to build libresolv with SSP flags
This commit is contained in:
@ -76,6 +76,9 @@ CPPFLAGS += -Dgethostbyname=res_gethostbyname \
|
||||
-Dgetnetbyname=res_getnetbyname \
|
||||
-Dgetnetbyaddr=res_getnetbyaddr
|
||||
|
||||
ifeq (yes,$(have-ssp))
|
||||
CFLAGS-libresolv += -fstack-protector
|
||||
endif
|
||||
CFLAGS-res_hconf.c = -fexceptions
|
||||
|
||||
# The BIND code elicits some harmless warnings.
|
||||
|
Reference in New Issue
Block a user