From ec4e85f8a3471efaf67032d8b7cedc13d40b1446 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 15 Jun 2001 19:47:58 +0000 Subject: Be consistant for all the client code, and use TARGET_CC with --uclibc-use-build-dir --- ldso/util/Makefile | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) (limited to 'ldso/util/Makefile') diff --git a/ldso/util/Makefile b/ldso/util/Makefile index f2486fdaa..cb5cfea34 100644 --- a/ldso/util/Makefile +++ b/ldso/util/Makefile @@ -1,32 +1,29 @@ TOPDIR=../../ include $(TOPDIR)Rules.mak -CFLAGS=-Wall -Os -I. --uclibc-use-build-dir -CC = $(TOPDIR)extra/gcc-uClibc/$(NATIVE_ARCH)-uclibc-gcc - all: ldconfig ldd readelf readsoname.o: readsoname.c readsoname2.c - $(CC) $(CFLAGS) -c $< -o $@ + $(TARGET_CC) $(TARGET_CFLAGS) -c $< -o $@ $(STRIPTOOL) -x -R .note -R .comment $*.o ldconfig.o: ldconfig.c - $(CC) $(CFLAGS) -DUCLIBC_ROOT_DIR=\"$(ROOT_DIR)\" -c $< -o $@ + $(TARGET_CC) $(TARGET_CFLAGS) -DUCLIBC_ROOT_DIR=\"$(ROOT_DIR)\" -c $< -o $@ $(STRIPTOOL) -x -R .note -R .comment $*.o ldd.o: ldd.c - $(CC) $(CFLAGS) -DUCLIBC_ROOT_DIR=\"$(ROOT_DIR)\" \ + $(TARGET_CC) $(TARGET_CFLAGS) -DUCLIBC_ROOT_DIR=\"$(ROOT_DIR)\" \ -DLDSO_ADDR="0x62f00020" -c $< -o $@ $(STRIPTOOL) -x -R .note -R .comment $*.o readelf: readelf.c - $(CC) $(CFLAGS) readelf.c -o $@ + $(TARGET_CC) $(TARGET_CFLAGS) readelf.c -o $@ ldconfig: ldconfig.o readsoname.o - $(CC) $(CFLAGS) -static $^ -o $@ + $(TARGET_CC) $(TARGET_CFLAGS) -static $^ -o $@ ldd: ldd.o readsoname.o - $(CC) $(CFLAGS) $^ -o $@ + $(TARGET_CC) $(TARGET_CFLAGS) $^ -o $@ clean: rm -f ldconfig ldd readelf *.o *~ core -- cgit v1.2.3