summaryrefslogtreecommitdiff
path: root/Makefile.cross
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2005-09-11 23:07:22 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2005-09-11 23:07:22 +0000
commit3641c476c917e739cb67d2f529dad27b7cb7513a (patch)
treeb41fbf23f9b76d3ac7826b3ef2087987fac06f90 /Makefile.cross
parentcd09c5dd0bde0015a794651190ca92ed98370a05 (diff)
Create a correct /usr/bin/cpp for a.out platforms.
Diffstat (limited to 'Makefile.cross')
-rw-r--r--Makefile.cross3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.cross b/Makefile.cross
index a1289113bac..0c10a81fc93 100644
--- a/Makefile.cross
+++ b/Makefile.cross
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.cross,v 1.8 2005/06/28 23:10:36 martin Exp $
+# $OpenBSD: Makefile.cross,v 1.9 2005/09/11 23:07:21 miod Exp $
cross-tools: cross-includes cross-binutils cross-gcc cross-lib
cross-distrib: cross-tools cross-bin cross-etc-root-var
@@ -232,6 +232,7 @@ ${CROSSGCC}: ${CROSSBINUTILS}
${CROSSDIR}/usr/libexec/cpp
sed -e 's#/usr/libexec/cpp#${CROSSDIR}/usr/libexec/cpp#' \
-e 's#/usr/include#${CROSSDIR}/usr/include#' \
+ -e 's/@dollaropt@/-$$/' \
${.CURDIR}/usr.bin/cpp/cpp.sh > ${CROSSDIR}/usr/bin/cpp
chmod ${BINMODE} ${CROSSDIR}/usr/bin/cpp
chown ${BINOWN}:${BINGRP} ${CROSSDIR}/usr/bin/cpp