summaryrefslogtreecommitdiff
path: root/openssl
diff options
context:
space:
mode:
authorVladimir Glazunov <vg@openoffice.org>2009-12-10 14:44:25 +0100
committerVladimir Glazunov <vg@openoffice.org>2009-12-10 14:44:25 +0100
commit9f1d44367a9b0214c7d267fcc7dc58e8191f73ed (patch)
tree985328f558693deb993a88661f6145cd15e97787 /openssl
parentea74b90b11ba8714835872ae2092f68bb6bd918e (diff)
parentfc895db9bacb559bb661d5a9fa8b3ac13b84dfdd (diff)
CWS-TOOLING: integrate CWS ause106
Diffstat (limited to 'openssl')
-rw-r--r--openssl/makefile.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/openssl/makefile.mk b/openssl/makefile.mk
index 6fb48b7ac352..d8446f94f708 100644
--- a/openssl/makefile.mk
+++ b/openssl/makefile.mk
@@ -134,7 +134,11 @@ OUT2BIN += out/libeay32.dll
# The env. vars CC and PERL are used by nmake, and nmake insists on '\'s
# If WRAPCMD is set it is prepended before the compiler, don't touch that.
.IF "$(WRAPCMD)"==""
- CC!:=$(subst,/,\ $(normpath,1 $(CC)))
+ # relace / with \ first word only
+ cc_first_repl = $(subst,/,\ $(normpath,1 $(CC:1)))
+ cc_first = $(normpath,1 $(CC:1))
+ CC!:=$(subst,$(cc_first),$(cc_first_repl) $(normpath,1 $(CC)))
+# CC!:=$(subst,/,\ $(normpath,1 $(CC)))
.EXPORT : CC
.ENDIF
PERL_bak:=$(PERL)