summaryrefslogtreecommitdiff
path: root/mk/compiler
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-02-06 18:45:02 +0000
committerjlam <jlam@pkgsrc.org>2004-02-06 18:45:02 +0000
commitc49973f61a70ffde4bea4fb3e8f331709103bf0f (patch)
treefc0cac73390ade60a30785204bb4879220669ee4 /mk/compiler
parent1f27e5698f31ba9c82caa4e8629bd0980e531dd0 (diff)
downloadpkgsrc-c49973f61a70ffde4bea4fb3e8f331709103bf0f.tar.gz
If we're passing through MAKEFLAGS variables whose values may contain
spaces, use the :Q modifier instead of double-quoting the value. This fixes breakage when executing the just-in-time su targetes.
Diffstat (limited to 'mk/compiler')
-rw-r--r--mk/compiler/gcc.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/mk/compiler/gcc.mk b/mk/compiler/gcc.mk
index 55c345b194f..cddbe12e138 100644
--- a/mk/compiler/gcc.mk
+++ b/mk/compiler/gcc.mk
@@ -1,4 +1,4 @@
-# $NetBSD: gcc.mk,v 1.40 2004/02/06 04:38:10 jlam Exp $
+# $NetBSD: gcc.mk,v 1.41 2004/02/06 18:45:03 jlam Exp $
.if !defined(COMPILER_GCC_MK)
COMPILER_GCC_MK= one
@@ -28,7 +28,7 @@ _CC:= ${_dir_}/${CC:C/^/_asdf_/1:M_asdf_*:S/^_asdf_//}
. endif
. endfor
. if !empty(_CC:M/*)
-MAKEFLAGS+= _CC="${_CC}"
+MAKEFLAGS+= _CC=${_CC:Q}
. endif
. endif
@@ -196,7 +196,7 @@ _NEED_NEWER_GCC!= \
else \
${ECHO} "YES"; \
fi
-MAKEFLAGS+= _NEED_NEWER_GCC="${_NEED_NEWER_GCC}"
+MAKEFLAGS+= _NEED_NEWER_GCC=${_NEED_NEWER_GCC}
. endif
. if !empty(_USE_PKGSRC_GCC:M[yY][eE][sS]) && \
!empty(_NEED_NEWER_GCC:M[yY][eE][sS])