OSDN Git Service

check_ld takes only 1 arg as pointed out by pkj
authorPeter S. Mazinger <ps.m@gmx.net>
Sun, 5 Mar 2006 16:01:03 +0000 (16:01 -0000)
committerPeter S. Mazinger <ps.m@gmx.net>
Sun, 5 Mar 2006 16:01:03 +0000 (16:01 -0000)
Rules.mak

index 7c84a4e..088b15b 100644 (file)
--- a/Rules.mak
+++ b/Rules.mak
@@ -358,7 +358,7 @@ endif
 #CFLAGS += $(call check_gcc,-std=c99,)
 
 LDFLAGS_NOSTRIP:=$(CPU_LDFLAGS-y) -shared --warn-common --warn-once -z combreloc
-LDFLAGS_NOSTRIP+=$(call check_ld,--gc-sections,)
+LDFLAGS_NOSTRIP+=$(call check_ld,--gc-sections)
 
 ifeq ($(UCLIBC_BUILD_RELRO),y)
 LDFLAGS_NOSTRIP+=-z relro