diff options
Diffstat (limited to 'extra')
-rw-r--r-- | extra/gcc-uClibc/Makefile | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/extra/gcc-uClibc/Makefile b/extra/gcc-uClibc/Makefile index 773a3b429..71e31620c 100644 --- a/extra/gcc-uClibc/Makefile +++ b/extra/gcc-uClibc/Makefile @@ -1,14 +1,6 @@ TOPDIR = ../../ include $(TOPDIR)Rules.mak -# NOTE: This may need to be modified for your system -ifeq ($(LDSO_PRESENT), $(TARGET_ARCH)) - DYNAMIC_LINKER=$(INSTALL_DIR)/lib/$(UCLIBC_LDSO) -else - DYNAMIC_LINKER=$(SYSTEM_LDSO) -endif - - UCLIBC_DIR = $(shell (cd ../.. ; /bin/pwd)) GCC_BIN = $(shell which $(CC)) LD_BIN = $(shell which $(LD)) @@ -33,7 +25,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- -L $(INSTALL_DIR)/lib -L$(UCLIBC_DIR) \$$@" >> $(TARGET_ARCH)-uclibc-ld + @echo "$(LD_BIN) -L- -L$(INSTALL_DIR)/lib -L$(INSTALL_DIR)/usr/lib "\ + "-L$(UCLIBC_DIR) \$$@" >> $(TARGET_ARCH)-uclibc-ld chmod a+x $(TARGET_ARCH)-uclibc-ld install: all |