summaryrefslogtreecommitdiff
path: root/ldso
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-01-30 07:39:04 +0000
committerEric Andersen <andersen@codepoet.org>2002-01-30 07:39:04 +0000
commit62910507a8defcf490a1ae95d978bd2a7db2b484 (patch)
tree80ad47e1ae5db10dd0a3b0e143e936c0cf0a852b /ldso
parenta6cf8dc644239941c5f4a90fd5408479efe50617 (diff)
Fixup util build
Diffstat (limited to 'ldso')
-rw-r--r--ldso/util/.cvsignore3
-rw-r--r--ldso/util/Makefile4
2 files changed, 4 insertions, 3 deletions
diff --git a/ldso/util/.cvsignore b/ldso/util/.cvsignore
index affcfd41e..d8832730f 100644
--- a/ldso/util/.cvsignore
+++ b/ldso/util/.cvsignore
@@ -1,4 +1,5 @@
ldd
-ldd.uclibc
+ldd.target
ldconfig
readelf
+readelf.target
diff --git a/ldso/util/Makefile b/ldso/util/Makefile
index ee0c8031c..d143ba934 100644
--- a/ldso/util/Makefile
+++ b/ldso/util/Makefile
@@ -41,7 +41,7 @@ readelf: readelf.c
$(STRIPTOOL) -x -R .note -R .comment $@
readelf.target: readelf.c
- $(TARGET_CC) $(CFLAGS) -static -s readelf.c -o $@
+ $(TARGET_CC) $(CFLAGS) -static --uclibc-use-build-dir -s readelf.c -o $@
$(STRIPTOOL) -x -R .note -R .comment $@
ifeq ($(strip $(LIBRARY_CACHE)),)
@@ -62,7 +62,7 @@ ldd: ldd.c
$(STRIPTOOL) -x -R .note -R .comment $@
ldd.target: ldd.c
- $(TARGET_CC) $(CFLAGS) -static -s -DUCLIBC_TARGET_PREFIX=\"$(TARGET_PREFIX)\" \
+ $(TARGET_CC) $(CFLAGS) -static --uclibc-use-build-dir -s -DUCLIBC_TARGET_PREFIX=\"$(TARGET_PREFIX)\" \
-DUCLIBC_DEVEL_PREFIX=\"$(DEVEL_PREFIX)\" \
-DUCLIBC_BUILD_DIR=\"$(shell cd $(TOPDIR) && pwd)\" \
-DUCLIBC_LDSO=\"$(UCLIBC_LDSO)\" \