For some reason have to use doublequotes around CXX_X64 etc

I don't understand why, but need to use double-quotes around the
CXX_X64 etc values assigned in set_wnt64.mk, to guard against their
pathname containing spaces or other special characters, like parens in
the case of "/cygdrive/c/Program Files (x64)". I hope this helps those
who have MSVC installed in its default path.

Also drop use of the unnecessary WRAPCMD.
This commit is contained in:
Tor Lillqvist
2011-05-15 19:18:39 +03:00
parent 0e69a0b50e
commit af495ab518

View File

@@ -35,11 +35,11 @@
.IF "$(BUILD_X64)"!=""
# ----------------- settings for x64 --------------------
CC_X64*:=$(WRAPCMD) $(CXX_X64_BINARY)
CXX_X64*:=$(WRAPCMD) $(CXX_X64_BINARY)
LINK_X64*:=$(WRAPCMD) $(LINK_X64_BINARY) $(NOLOGO) -MACHINE:X64
LIBMGR_X64=$(WRAPCMD) $(LIBMGR_X64_BINARY) $(NOLOGO)
IMPLIB_X64=$(WRAPCMD) $(LIBMGR_X64_BINARY)
CC_X64*:="$(CXX_X64_BINARY)"
CXX_X64*:="$(CXX_X64_BINARY)"
LINK_X64*:="$(LINK_X64_BINARY)" $(NOLOGO) -MACHINE:X64
LIBMGR_X64="$(LIBMGR_X64_BINARY)" $(NOLOGO)
IMPLIB_X64="$(LIBMGR_X64_BINARY)"
USE_CFLAGS_X64=-c -nologo -Gs $(NOLOGO) -Zm500 -Zc:forScope,wchar_t- -GR