summaryrefslogtreecommitdiff
path: root/extra/gcc-uClibc/Makefile
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-03-22 07:26:14 +0000
committerEric Andersen <andersen@codepoet.org>2002-03-22 07:26:14 +0000
commitf07a09b0620792865d473c2dbce914c039d2e20a (patch)
tree771fa30d0f6830170fca0b45ca5d2d477cb332bc /extra/gcc-uClibc/Makefile
parent68860fb4a5e8ed053beabaa73691a5f49ddf4086 (diff)
Fix incorrect ordering of -L and -l options, which prevented things
like iproute2 and XFree86 from linking. -Erik
Diffstat (limited to 'extra/gcc-uClibc/Makefile')
-rw-r--r--extra/gcc-uClibc/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/extra/gcc-uClibc/Makefile b/extra/gcc-uClibc/Makefile
index f715903d2..9d30a0d1a 100644
--- a/extra/gcc-uClibc/Makefile
+++ b/extra/gcc-uClibc/Makefile
@@ -35,8 +35,8 @@ gcc-uClibc: gcc-uClibc.h gcc-uClibc.c
ld-uClibc:
@echo "#!/bin/sh" > $(TARGET_ARCH)-uclibc-ld
@echo "# This file was autogenerated by make" >> $(TARGET_ARCH)-uclibc-ld
- @echo "$(LD_BIN) -L$(DEVEL_PREFIX)/usr/lib -L$(DEVEL_PREFIX)/lib "\
- "-L$(UCLIBC_DIR) \$$@" >> $(TARGET_ARCH)-uclibc-ld
+ @echo "$(LD_BIN) \$$@ -L$(DEVEL_PREFIX)/usr/lib -L$(DEVEL_PREFIX)/lib "\
+ "-L$(UCLIBC_DIR)" >> $(TARGET_ARCH)-uclibc-ld
chmod a+x $(TARGET_ARCH)-uclibc-ld
install: all