summaryrefslogtreecommitdiff
path: root/utils/Makefile
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-09-28 01:11:38 +0000
committerMike Frysinger <vapier@gentoo.org>2005-09-28 01:11:38 +0000
commit7cd0c0eb53758d0cdad5a7200fbffb5496073df2 (patch)
tree6058297ded1e66f9c6b38105f27176175d835ce5 /utils/Makefile
parent73c59934ec1787c167df099510e55492c2a432cd (diff)
use local header files rather than toolchain header files #444 by ee_doright
Diffstat (limited to 'utils/Makefile')
-rw-r--r--utils/Makefile8
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 $@