summaryrefslogtreecommitdiff
path: root/Makeconfig
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2011-08-17 21:36:23 -0400
committerUlrich Drepper <drepper@gmail.com>2011-08-17 21:36:23 -0400
commit44f0a71e58c854d6554a31cd1c3962926b49ee90 (patch)
tree23d85b9f463a25eda601c405cf6276c13e2ccb83 /Makeconfig
parent8de79a248cc1a4148e1e826ed416bb6faee4857b (diff)
downloadglibc-44f0a71e58c854d6554a31cd1c3962926b49ee90.tar.gz
Add rules to build libresolv with SSP flags
Diffstat (limited to 'Makeconfig')
-rw-r--r--Makeconfig4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makeconfig b/Makeconfig
index cc5c3a9ffb..feca6038ce 100644
--- a/Makeconfig
+++ b/Makeconfig
@@ -708,7 +708,9 @@ CPPFLAGS = $($(subdir)-CPPFLAGS) $(+includes) $(defines) \
override CFLAGS = -std=gnu99 $(gnu89-inline-CFLAGS) \
$(filter-out %frame-pointer,$(+cflags)) $(+gccwarn-c) \
$(sysdep-CFLAGS) $(CFLAGS-$(suffix $@)) $(CFLAGS-$(<F)) \
- $(CFLAGS-$(@F))
+ $(CFLAGS-$(@F)) \
+ $(foreach lib,$(libof-$(basename $(@F))) \
+ $(libof-$(<F)) $(libof-$(@F)),$(CFLAGS-$(lib)))
override CXXFLAGS = $(c++-sysincludes) \
$(filter-out %frame-pointer,$(+cflags)) $(sysdep-CFLAGS) \
$(CFLAGS-$(suffix $@)) $(CFLAGS-$(<F)) $(CFLAGS-$(@F))