summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2003-01-05 22:52:20 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2003-01-05 22:52:20 +0000
commit51e86ee836ac2596acb37357b4401513aa4e6aa8 (patch)
tree8346d46df8ca895c7bd118d7ba4a932b7c88ec68
parentf79f7a68f5ed63574a184a8f72f6528b044126a4 (diff)
enquote flags and opts in cross-env; reported by david krause
-rw-r--r--Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index ca724b3db43..5b5047b503b 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.88 2002/09/17 16:19:49 miod Exp $
+# $OpenBSD: Makefile,v 1.89 2003/01/05 22:52:19 mickey Exp $
#
# For more information on building in tricky environments, please see
@@ -114,12 +114,12 @@ CROSSENV= AR=${CROSSDIR}/usr/bin/ar AS=${CROSSDIR}/usr/bin/as \
LD=${CROSSDIR}/usr/bin/ld NM=${CROSSDIR}/usr/bin/nm \
LORDER=/usr/bin/lorder RANLIB=${CROSSDIR}/usr/bin/ranlib \
SIZE=${CROSSDIR}/usr/bin/size STRIP=${CROSSDIR}/usr/bin/strip \
- HOSTCC="${CC}" HOSTCXX="${CXX}" NOMAN= DESTDIR=${CROSSDIR} \
- HOSTCFLAGS="${CFLAGS}" HOSTCXXFLAGS="${CXXFLAGS}" \
- HOSTLDFLAGS="${LDFLAGS}" \
- CFLAGS="${CROSSCFLAGS}" CPPFLAGS="${CROSSCPPFLAGS}" \
- CXXFLAGS="${CROSSCXXFLAGS}" \
- LDFLAGS="${CROSSLDFLAGS}"
+ HOSTCC=\"${CC}\" HOSTCXX=\"${CXX}\" NOMAN= DESTDIR=${CROSSDIR} \
+ HOSTCFLAGS=\"${CFLAGS}\" HOSTCXXFLAGS=\"${CXXFLAGS}\" \
+ HOSTLDFLAGS=\"${LDFLAGS} \" \
+ CFLAGS=\"${CROSSCFLAGS}\" CPPFLAGS=\"${CROSSCPPFLAGS}\" \
+ CXXFLAGS=\"${CROSSCXXFLAGS}\" \
+ LDFLAGS=\"${CROSSLDFLAGS}\"
CROSSPATH= ${PATH}:${CROSSDIR}/usr/bin
CROSSLANGS?= c c++