diff options
-rw-r--r-- | utils/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
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 $@ |