From 7cd0c0eb53758d0cdad5a7200fbffb5496073df2 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 28 Sep 2005 01:11:38 +0000 Subject: use local header files rather than toolchain header files #444 by ee_doright --- utils/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'utils/Makefile') diff --git a/utils/Makefile b/utils/Makefile index 5478c4352..640bedfb7 100644 --- a/utils/Makefile +++ b/utils/Makefile @@ -19,7 +19,9 @@ TOPDIR=../ include $(TOPDIR)Rules.mak -CFLAGS += $(SSP_ALL_CFLAGS) -L$(TOPDIR)lib +CFLAGS += \ + $(SSP_ALL_CFLAGS) -L$(TOPDIR)lib \ + -I. -I../ldso/include -I../include TARGETS = ldd ldconfig @@ -55,7 +57,7 @@ endif ldconfig: ldconfig.c $(CC) $(CFLAGS) $(LDCONFIG_CFLAGS) \ -DUCLIBC_RUNTIME_PREFIX=\"$(RUNTIME_PREFIX)\" \ - -DUCLIBC_LDSO=$(UCLIBC_LDSO) -I. -I../ldso/include \ + -DUCLIBC_LDSO=$(UCLIBC_LDSO) \ $^ -o $@ $(STRIPTOOL) -s -x -R .note -R .comment $@ @@ -63,7 +65,7 @@ LDD_CFLAGS := $(PIEFLAG) $(LDPIEFLAG) ldd: ldd.c $(CC) $(CFLAGS) $(LDD_CFLAGS) \ -DUCLIBC_RUNTIME_PREFIX=\"$(RUNTIME_PREFIX)\" \ - -DUCLIBC_LDSO=$(UCLIBC_LDSO) -I. -I../ldso/include \ + -DUCLIBC_LDSO=$(UCLIBC_LDSO) \ $^ -o $@ $(STRIPTOOL) -s -x -R .note -R .comment $@ -- cgit v1.2.3