diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-05-04 22:29:43 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-05-04 22:29:43 +0000 |
commit | 91307a366625e3ec7e618f012269130d2e5bba57 (patch) | |
tree | 9174f2733dd20ff6cd4b25d0038bdccf268e519f /extra/gcc-uClibc | |
parent | ae9bb92ccc2b4a9a75b09c59e1351a78e6a6da53 (diff) |
This patch allows powerpc to compile again. It also checks if we
are compiling for an arch for which uClibc has an ld.so or not,
and otherwise sets things up to use the system ld.so.
-Erik
Diffstat (limited to 'extra/gcc-uClibc')
-rw-r--r-- | extra/gcc-uClibc/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/extra/gcc-uClibc/Makefile b/extra/gcc-uClibc/Makefile index 75c823086..d28ab8cc9 100644 --- a/extra/gcc-uClibc/Makefile +++ b/extra/gcc-uClibc/Makefile @@ -2,7 +2,12 @@ TOPDIR = ../../ include $(TOPDIR)Rules.mak # NOTE: This may need to be modified for your system -DYNAMIC_LINKER = $(INSTALL_DIR)/lib/ld-linux-uclibc.so.$(MAJOR_VERSION) +ifeq ($(LDSO_PRESENT), $(TARGET_ARCH)) + DYNAMIC_LINKER = $(INSTALL_DIR)/lib/ld-linux-uclibc.so.$(MAJOR_VERSION) +else + DYNAMIC_LINKER=$(SYSTEM_LDSO) +endif + UCLIBC_DIR = $(shell (cd ../.. ; /bin/pwd)) GCC_BIN = $(shell which $(CC)) |