summaryrefslogtreecommitdiff
path: root/usr.bin/strip
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>2000-02-05 08:43:18 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>2000-02-05 08:43:18 +0000
commit9a652530cb1431245223c74e2f7a9503627c729d (patch)
tree41480557fdcf889ec1ebe556474abc3fb8633569 /usr.bin/strip
parent1c54b8f255343cb1416f0290e9d7b7ca4febd3ca (diff)
Make hoststrip build correctly if cross-compiling
Diffstat (limited to 'usr.bin/strip')
-rw-r--r--usr.bin/strip/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/strip/Makefile b/usr.bin/strip/Makefile
index 8adf1fa3205..eb872e62d1f 100644
--- a/usr.bin/strip/Makefile
+++ b/usr.bin/strip/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.8 1999/05/10 16:14:07 espie Exp $
+# $OpenBSD: Makefile,v 1.9 2000/02/05 08:43:17 niklas Exp $
TARGET_MACHINE_ARCH?= ${MACHINE_ARCH}
@@ -23,10 +23,10 @@ STRIP= /usr/bin/strip
.elif ${HOSTCC} != ${CC}
STRIP=./hoststrip
-realinstall: hoststrip
+realinstall strip: hoststrip
hoststrip: strip.c
- ${HOSTCC} ${.CURDIR}/strip.c -o hoststrip
+ ${HOSTCC} -I${.CURDIR}/../nm ${.CURDIR}/strip.c -o hoststrip
.else
STRIP=./strip
.endif