summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-01-17 20:59:33 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-01-17 20:59:33 +0000
commit01cf29f93b3bbadc20653e203333defa3f57766d (patch)
treec264a1403696ff2965c35196e0e284207aa9c587 /libc
parent3446174faaee71cf3468dbae56dd6c3c9d9e0932 (diff)
- fix linking.
We use the compiler-driver and not ld.
Diffstat (limited to 'libc')
-rw-r--r--libc/Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/Makefile.in b/libc/Makefile.in
index e88a6e766..2ef407bfb 100644
--- a/libc/Makefile.in
+++ b/libc/Makefile.in
@@ -15,7 +15,7 @@ ifneq ($(VERSION_SCRIPT),)
VERSION_SCRIPT := -Wl,--version-script,$(VERSION_SCRIPT)
endif
-LDFLAGS-libc.so := $(LDFLAGS) $(VERSION_SCRIPT) -init $(SYMBOL_PREFIX)__uClibc_init
+LDFLAGS-libc.so := $(LDFLAGS) $(VERSION_SCRIPT) -Wl,-init,$(SYMBOL_PREFIX)__uClibc_init
LIBS-libc.so := $(interp) $(ldso) $(top_builddir)lib/$(NONSHARED_LIBNAME)