From 7eea9ca077dac620c865f5dbe8f9391324ceb013 Mon Sep 17 00:00:00 2001 From: Joakim Tjernlund Date: Wed, 6 Oct 2004 11:45:22 +0000 Subject: Peter S. Mazinger writes: The attached patches make iconv use XXFLAGS and adapts ldd.host to cvs. --- utils/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'utils/Makefile') 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 -- cgit v1.2.3