summaryrefslogtreecommitdiff
path: root/ldso/util
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-07-12 21:41:31 +0000
committerEric Andersen <andersen@codepoet.org>2001-07-12 21:41:31 +0000
commitffc7bb39cce77ae6243aa903f0cc1a96ab42bce8 (patch)
treeed630021880996199ec74be056c409c5ced9d66d /ldso/util
parentd6e6ee0202f8705a30b10b53eb259a2d62ece466 (diff)
This commit merges David Schleef's updates to the build system, which a
few tiny fixups here and there from me. Seems to work just fine and will hopefully be a bit better behaved. -Erik
Diffstat (limited to 'ldso/util')
-rw-r--r--ldso/util/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/ldso/util/Makefile b/ldso/util/Makefile
index 646fd69b6..f1485d50e 100644
--- a/ldso/util/Makefile
+++ b/ldso/util/Makefile
@@ -8,7 +8,7 @@ readsoname.o: readsoname.c readsoname2.c
$(STRIPTOOL) -x -R .note -R .comment $*.o
ldconfig.o: ldconfig.c
- $(TARGET_CC) $(TARGET_CFLAGS) -DUCLIBC_ROOT_DIR=\"$(ROOT_DIR)\" \
+ $(TARGET_CC) $(TARGET_CFLAGS) -DUCLIBC_ROOT_DIR=\"$(DEVEL_PREFIX)\" \
-c $< -o $@
$(STRIPTOOL) -x -R .note -R .comment $*.o
@@ -21,7 +21,7 @@ ldconfig: ldconfig.o readsoname.o
$(STRIPTOOL) -x -R .note -R .comment $@
ldd: ldd.c
- $(TARGET_CC) $(TARGET_CFLAGS) -DUCLIBC_ROOT_DIR=\"$(ROOT_DIR)\" \
+ $(TARGET_CC) $(TARGET_CFLAGS) -DUCLIBC_ROOT_DIR=\"$(DEVEL_PREFIX)\" \
-DUCLIBC_BUILD_DIR=\"$(shell cd $(TOPDIR); pwd)\" \
-static ldd.c -o $@
$(STRIPTOOL) -x -R .note -R .comment $@