summaryrefslogtreecommitdiff
path: root/tools/cpio
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-01-26 13:40:40 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-01-26 13:40:40 +0100
commitb44cf2a9ca220035a29b282c98d6367d7cab66c0 (patch)
treed291b37138c4a81fd7b35ef38778421e3ba77e89 /tools/cpio
parent83687368fdcf0004e377584b3b3e73d4f991e27e (diff)
another HOSTCC elimination, thx hudson
Diffstat (limited to 'tools/cpio')
-rw-r--r--tools/cpio/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/cpio/Makefile b/tools/cpio/Makefile
index a012c43a5..2280b1ffb 100644
--- a/tools/cpio/Makefile
+++ b/tools/cpio/Makefile
@@ -3,6 +3,8 @@
include $(TOPDIR)/rules.mk
+install: ${TOOLS_DIR}/cpio
+
SRCS+= \
src/ib_open.c \
src/ib_close.c \
@@ -28,8 +30,6 @@ SRCS+= \
src/cpio.c
${TOOLS_DIR}/cpio: ${SRCS}
- ${HOSTCC} ${HOSTCFLAGS} -D_GNU_SOURCE -Isrc -o $@ $^
-
-install: ${TOOLS_DIR}/cpio
+ ${CC_FOR_BUILD} ${FLAGS_FOR_BUILD} -D_GNU_SOURCE -Isrc -o $@ $^
include $(TOPDIR)/mk/tools.mk