summaryrefslogtreecommitdiff
path: root/openssl/makefile.mk
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
commit3a726d4a08aff85b64b0501d6770258811d423b1 (patch)
tree341e36c71a7db137f29164a6974e7c56cb1db3a5 /openssl/makefile.mk
parent1302ecf68b72cfae60f94bc0d191f9b4ecb9ea5e (diff)
parentabedbb1d127c82bec67762b6ff760094dcbd81ed (diff)
CWS-TOOLING: integrate CWS ause106
Diffstat (limited to 'openssl/makefile.mk')
-rw-r--r--openssl/makefile.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/openssl/makefile.mk b/openssl/makefile.mk
index 6fb48b7..d8446f9 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)