summaryrefslogtreecommitdiff
path: root/openssl
diff options
context:
space:
mode:
authorPeter Foley <pefoley2@verizon.net>2012-09-15 10:58:59 -0400
committerDavid Tardon <dtardon@redhat.com>2012-10-07 10:42:21 +0200
commit0e866192ae2abe5f9bcdfc8cb0b4aa23aba1301b (patch)
treec4b9561c053708ed91e78433d1d180c044521c4f /openssl
parent1b0c68b61a1673d809930087bdf65d2205492765 (diff)
fix for openssl with MSVC when ccache is enabled
Change-Id: I93deea3a80178f51fff9a23328df7a67f308e052
Diffstat (limited to 'openssl')
-rw-r--r--openssl/makefile.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/openssl/makefile.mk b/openssl/makefile.mk
index 04a8683a20ee..286e4242bb42 100644
--- a/openssl/makefile.mk
+++ b/openssl/makefile.mk
@@ -155,7 +155,8 @@ OUT2BIN += 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)))
+ CC!:=$(subst,/,\ $(normpath,1 $(CC:1)))
+ CC!:=$(CC:s/ccache/ccache cl.exe/)
.EXPORT : CC
.ENDIF
PERL_bak:=$(PERL)