summaryrefslogtreecommitdiff
path: root/extra/gcc-uClibc/Makefile
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2001-01-17 16:19:28 +0000
committerManuel Novoa III <mjn3@codepoet.org>2001-01-17 16:19:28 +0000
commita7988227899ee7720b530c8bb31a6ae486905f8f (patch)
tree22d777ef90cba4970bed66bda4ae3b2a958d8ee4 /extra/gcc-uClibc/Makefile
parent0c827cb73977b1ae72fb48075d412914583f23e0 (diff)
Set dynamic linker used to /lib/ld-linux.so.1. Changeable in Makefile.
Diffstat (limited to 'extra/gcc-uClibc/Makefile')
-rw-r--r--extra/gcc-uClibc/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/extra/gcc-uClibc/Makefile b/extra/gcc-uClibc/Makefile
index a1a5c21df..b54c5eadc 100644
--- a/extra/gcc-uClibc/Makefile
+++ b/extra/gcc-uClibc/Makefile
@@ -2,6 +2,10 @@
TOPDIR = ../../
include $(TOPDIR)Rules.mak
+# NOTE: This may need to be modified on each system.
+# If your default dynamic linker works, comment this out.
+DYNAMIC_LINKER = /lib/ld-linux.so.1
+
UCLIBC_DIR = $(shell (cd ../.. ; /bin/pwd))
GCC_BIN = $(CC)
GCC_LIB = $(shell $(CC) -print-libgcc-file-name )
@@ -25,6 +29,7 @@ gcc-uClibc.h: clean
echo "#define GCC_LIB " \"$(GCC_LIB)\" >> gcc-uClibc.h
echo "#define GCC_INCDIR " \"-I$(GCCINCDIR)/\" >> gcc-uClibc.h
echo "#define TARGET_ARCH " \"$(TARGET_ARCH)\" >> gcc-uClibc.h
+ echo "#define DYNAMIC_LINKER " \"$(DYNAMIC_LINKER)\" >> gcc-uClibc.h
gcc-uClibc-native: gcc-uClibc.h gcc-uClibc.c
# uClibc built for native environment, so why not use it ;-)