From 32c075e1f01849e161724bbd400ba77244e482cc Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Tue, 31 Jul 2007 13:33:18 +0000 Subject: . --- Makeconfig | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Makeconfig') diff --git a/Makeconfig b/Makeconfig index 349f94d..5a1aebc 100644 --- a/Makeconfig +++ b/Makeconfig @@ -407,9 +407,11 @@ LDFLAGS.so += $(combreloc-LDFLAGS) LDFLAGS-rtld += $(combreloc-LDFLAGS) endif +ifeq (yes,$(have-z-relro)) relro-LDFLAGS = -Wl,-z,relro LDFLAGS.so += $(relro-LDFLAGS) LDFLAGS-rtld += $(relro-LDFLAGS) +endif ifeq (yes,$(have-hash-style)) # For the time being we unconditionally use 'both'. At some time we -- cgit v1.1