summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2004-11-10 23:38:00 +0000
committerpeter <peter@FreeBSD.org>2004-11-10 23:38:00 +0000
commit3b44a4d154c045a86e221723bf08e942f7937867 (patch)
treee52e1ddafc8acb95ae10cec74d9504e3cf088d83 /Makefile.inc1
parent540bdb943efe589a091b174b3fad6cc37f594fe4 (diff)
downloadFreeBSD-src-3b44a4d154c045a86e221723bf08e942f7937867.zip
FreeBSD-src-3b44a4d154c045a86e221723bf08e942f7937867.tar.gz
Ruslan told me I should have quoted the arch strings when comparing to
MACHINE_ARCH. Belatedly get around to doing it.
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc18
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index fb063b5..818cdfa 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -201,7 +201,7 @@ WMAKEENV= ${CROSSENV} \
PATH=${TMPPATH}
WMAKE= ${WMAKEENV} ${MAKE} -f Makefile.inc1 DESTDIR=${WORLDTMP}
-.if ${MACHINE_ARCH} == amd64
+.if ${MACHINE_ARCH} == "amd64"
# 32 bit world
LIB32TMP= ${OBJTREE}${.CURDIR}/lib32
@@ -378,7 +378,7 @@ everything:
@echo ">>> stage 4.4: building everything"
@echo "--------------------------------------------------------------"
${_+_}cd ${.CURDIR}; ${WMAKE} par-all
-.if ${MACHINE_ARCH} == amd64
+.if ${MACHINE_ARCH} == "amd64"
build32:
@echo
@echo "--------------------------------------------------------------"
@@ -436,7 +436,7 @@ WMAKE_TGTS+= _cleanobj _obj _build-tools
WMAKE_TGTS+= _cross-tools
.endif
WMAKE_TGTS+= _includes _libraries _depend everything
-.if ${MACHINE_ARCH} == amd64 && defined(WITH_LIB32)
+.if ${MACHINE_ARCH} == "amd64" && defined(WITH_LIB32)
WMAKE_TGTS+= build32
.endif
@@ -569,7 +569,7 @@ reinstall: ${SPECIAL_INSTALLCHECKS}
@echo ">>> Installing everything"
@echo "--------------------------------------------------------------"
${_+_}cd ${.CURDIR}; ${MAKE} -f Makefile.inc1 install
-.if ${MACHINE_ARCH} == amd64 && defined(WITH_LIB32)
+.if ${MACHINE_ARCH} == "amd64" && defined(WITH_LIB32)
${_+_}cd ${.CURDIR}; ${MAKE} -f Makefile.inc1 install32
.endif
OpenPOWER on IntegriCloud