summary refs log tree commit diff
path: root/Makerules
diff options
context:
space:
mode:
Diffstat (limited to 'Makerules')
-rw-r--r--Makerules2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makerules b/Makerules
index a16337806c..876134756f 100644
--- a/Makerules
+++ b/Makerules
@@ -569,7 +569,7 @@ ifeq (yes,$(build-shared))
 # on other shared objects.
 lib%.so: lib%_pic.a; $(build-shlib)
 
-ifeq ($(libc_cv_ld_no_whole_archive),yes)
+ifeq ($(have-no-whole-archive),yes)
 no-whole-archive = -Wl,--no-whole-archive
 else
 no-whole-archive =