From f07a09b0620792865d473c2dbce914c039d2e20a Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 22 Mar 2002 07:26:14 +0000 Subject: Fix incorrect ordering of -L and -l options, which prevented things like iproute2 and XFree86 from linking. -Erik --- extra/gcc-uClibc/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'extra/gcc-uClibc/Makefile') 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 -- cgit v1.2.3