summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2001-02-15 16:11:21 +0000
committerManuel Novoa III <mjn3@codepoet.org>2001-02-15 16:11:21 +0000
commite128fa8ad52a2466aea71cd75a45ec9703d07fe0 (patch)
treecfa7db888f8862bec78d7c3374e7f2f3a97e5a26 /extra
parent3f549ec2791de2c021fdbb680bcbf7083736b70f (diff)
Hack DYNAMIC_LINKER setting for now.
Diffstat (limited to 'extra')
-rw-r--r--extra/gcc-uClibc/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/extra/gcc-uClibc/Makefile b/extra/gcc-uClibc/Makefile
index adbc06203..4038142bf 100644
--- a/extra/gcc-uClibc/Makefile
+++ b/extra/gcc-uClibc/Makefile
@@ -3,9 +3,13 @@ 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
+ifeq ($(TARGET_ARCH), i386)
+# Right now, I'm using .1 since .2 pulls in libc6 on my system. Manuel
+DYNAMIC_LINKER = /lib/ld-linux.so.1
+else
+# For Erik's arm case.
DYNAMIC_LINKER = $(shell ls /lib/ld*.so.[0-9] | sort | tail -n 1)
+endif
UCLIBC_DIR = $(shell (cd ../.. ; /bin/pwd))
GCC_BIN = $(CC)