1
0
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:
Ulrich Drepper
2011-08-17 21:36:23 -04:00
parent 8de79a248c
commit 44f0a71e58
3 changed files with 13 additions and 3 deletions

View File

@ -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.