fea70bfb06
...for now; workdir/UnpackedTarball/icu/source/tools/toolutil/Makefile invokes the compiler with a -DU_HOST=\"...\" argument, and apparently directly executes the compiler from CreateProcess, not going via a shell invocation for the recipe line. This confuses clang-cl for whatever reason, and for whatever other reason, forcing make to go via a shell invocation (by adding "true &&" into the recipe line) fixes it. Change-Id: I3757a8856f93228c19475b37f3037fa9519a426f
26 lines
821 B
Text
26 lines
821 B
Text
--- source/config/mh-cygwin-msvc
|
|
+++ source/config/mh-cygwin-msvc
|
|
@@ -51,8 +51,8 @@
|
|
LDFLAGS+=-nologo
|
|
|
|
# Commands to compile
|
|
-COMPILE.c= $(CC) $(CPPFLAGS) $(DEFS) $(CFLAGS) -c
|
|
+COMPILE.c= true && $(CC) $(CPPFLAGS) $(DEFS) $(CFLAGS) -c
|
|
-COMPILE.cc= $(CXX) $(CPPFLAGS) $(DEFS) $(CXXFLAGS) -c
|
|
+COMPILE.cc= true && $(CXX) $(CPPFLAGS) $(DEFS) $(CXXFLAGS) -c
|
|
|
|
# Commands to link
|
|
LINK.c= LINK.EXE -subsystem:console $(LDFLAGS)
|
|
--- source/runConfigureICU
|
|
+++ source/runConfigureICU
|
|
@@ -259,8 +259,8 @@
|
|
Cygwin/MSVC)
|
|
THE_OS="Windows with Cygwin"
|
|
THE_COMP="Microsoft Visual C++"
|
|
- CC=cl; export CC
|
|
- CXX=cl; export CXX
|
|
+ CC=${CC-cl}; export CC
|
|
+ CXX=${CXX-cl}; export CXX
|
|
RELEASE_CFLAGS='-Gy -MD'
|
|
RELEASE_CXXFLAGS='-Gy -MD'
|
|
DEBUG_CFLAGS='-Zi -MDd'
|