summaryrefslogtreecommitdiff
path: root/usr.bin/cpp
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1996-08-26 21:25:23 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1996-08-26 21:25:23 +0000
commite4e93bf8c7a9b4a17e478c2cd290df471c956b22 (patch)
tree9b416b5e25b71046efd4a46a6801aa819c9541a0 /usr.bin/cpp
parent4e563c7071bdb64a3afc777078b7882145a9ddf2 (diff)
Our /usr/libexec/cpp link creation wasn't suitable for cross-builds
Diffstat (limited to 'usr.bin/cpp')
-rw-r--r--usr.bin/cpp/Makefile6
1 files changed, 1 insertions, 5 deletions
diff --git a/usr.bin/cpp/Makefile b/usr.bin/cpp/Makefile
index 36426247def..c61ba467574 100644
--- a/usr.bin/cpp/Makefile
+++ b/usr.bin/cpp/Makefile
@@ -1,13 +1,9 @@
-# $OpenBSD: Makefile,v 1.3 1996/06/26 05:32:24 deraadt Exp $
+# $OpenBSD: Makefile,v 1.4 1996/08/26 21:25:22 niklas Exp $
NOMAN=
beforeinstall:
install ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
${.CURDIR}/cpp.sh ${DESTDIR}${BINDIR}/cpp
- if [ `cc -print-libgcc-file-name` != /usr/lib/libgcc.a ]; then \
- (cd ${DESTDIR}/usr/libexec; rm -f cpp; \
- ln -s `cc -print-libgcc-file-name | sed -e 's/libgcc\.a/cpp/'` cpp); \
- fi
.include <bsd.prog.mk>