summaryrefslogtreecommitdiff
path: root/utils/Makefile
diff options
context:
space:
mode:
authorJoakim Tjernlund <joakim.tjernlund@transmode.se>2004-10-06 11:45:22 +0000
committerJoakim Tjernlund <joakim.tjernlund@transmode.se>2004-10-06 11:45:22 +0000
commit7eea9ca077dac620c865f5dbe8f9391324ceb013 (patch)
tree4214cfee5aa7604a5959fb2f3886ad51e671c812 /utils/Makefile
parent80c6a0958a927706d8dffd81301511c83289496f (diff)
Peter S. Mazinger writes:
The attached patches make iconv use XXFLAGS and adapts ldd.host to cvs.
Diffstat (limited to 'utils/Makefile')
-rw-r--r--utils/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/Makefile b/utils/Makefile
index 9b5517000..a488c32ba 100644
--- a/utils/Makefile
+++ b/utils/Makefile
@@ -60,8 +60,8 @@ ldd: ldd.c
$(STRIPTOOL) -x -R .note -R .comment $@
iconv: ../libc/misc/wchar/wchar.c
- $(CC) $(CFLAGS) -DL_iconv_main ../libc/misc/wchar/wchar.c -o $@ \
- $(LDADD_LIBFLOAT) -L../lib
+ $(CC) $(CFLAGS) $(XXFLAGS) -Wl,-s -DL_iconv_main \
+ $^ -o $@ $(LDADD_LIBFLOAT) -L../lib
$(STRIPTOOL) -x -R .note -R .comment $@
hostutils: ldd.host ldconfig.host readelf.host
@@ -69,7 +69,7 @@ hostutils: ldd.host ldconfig.host readelf.host
ldd.host: ldd.c
$(HOSTCC) $(HOSTCFLAGS) -Wl,-s \
-DUCLIBC_RUNTIME_PREFIX=\"$(RUNTIME_PREFIX)\" \
- -DUCLIBC_LDSO=$(UCLIBC_LDSO) \
+ -DUCLIBC_LDSO=$(UCLIBC_LDSO) -I. -I../ldso/include \
$^ -o $@
ldconfig.host: ldconfig.c readsoname.c