diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-01-26 02:31:08 -0600 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-02-05 19:34:06 -0600 |
commit | ed3122a8cbedbab0e22513efd7274e4a10b43dcc (patch) | |
tree | 7c98b2725d1a082530657b435fbbfb5fed55146e /solenv | |
parent | REPODIR could be a drive i.e D:/ in that case we want to strip the '/' (diff) | |
download | core-ed3122a8cbedbab0e22513efd7274e4a10b43dcc.tar.gz core-ed3122a8cbedbab0e22513efd7274e4a10b43dcc.zip |
gb_Helper_convert_native should not introduce superflous spaces
that broke a case where we had -DMISC=$(call gb_Helper_conver_native,...)
which transformed in to -DMISC= d:/foo/bar
and broke the build
Diffstat (limited to 'solenv')
-rw-r--r-- | solenv/gbuild/platform/WNT_INTEL_MSC.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/solenv/gbuild/platform/WNT_INTEL_MSC.mk b/solenv/gbuild/platform/WNT_INTEL_MSC.mk index aaa29e552c98..bc1d7ea37d6f 100644 --- a/solenv/gbuild/platform/WNT_INTEL_MSC.mk +++ b/solenv/gbuild/platform/WNT_INTEL_MSC.mk @@ -251,6 +251,7 @@ gb_Helper_set_ld_path := PATH="$${PATH}:$(OUTDIR)/bin" # slashes after file: in a file: URL from being unduplicated by the # // -> / substitution. define gb_Helper_convert_native +$(strip \ $(subst file:!!!,file:///, \ $(subst //,/, \ $(subst file:///,file:!!!, \ @@ -258,7 +259,7 @@ $(subst $(REPODIR),$(patsubst %/,%,$(gb_Helper_REPODIR_NATIVE)), \ $(subst $(SRCDIR),$(gb_Helper_SRCDIR_NATIVE), \ $(subst $(WORKDIR),$(gb_Helper_WORKDIR_NATIVE), \ $(subst $(OUTDIR),$(gb_Helper_OUTDIR_NATIVE), \ -$(1)))))))) +$(1))))))))) endef # YaccTarget class |