about 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 f5134586fa..23fb5dbf0f 100644
--- a/Makerules
+++ b/Makerules
@@ -513,7 +513,7 @@ endif
 link-libc-args = -Wl,--start-group \
 		 $(libc-for-link) \
 		 $(common-objpfx)libc_nonshared.a \
-		 $(as-needed) $(elf-objpfx)ld.so $(no-as-needed) \
+		 -Wl,--as-needed $(elf-objpfx)ld.so -Wl,--no-as-needed \
 		 -Wl,--end-group
 
 # The corresponding shared libc to use.  This may be modified for a