summaryrefslogtreecommitdiff
path: root/external
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-12-01 13:02:14 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-12-02 08:02:27 +0100
commitfea70bfb0624e4aa57bb8e4f1c229188b061f5d2 (patch)
treee86694055cc86a952e928d4d66d9058d06e11fd9 /external
parent97c8458b43abb9269866221f51db9d24de4a5380 (diff)
external/icu: Work around a weird Windows bug in either make or clang-cl
...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
Diffstat (limited to 'external')
-rw-r--r--external/icu/clang-cl.patch.013
1 files changed, 13 insertions, 0 deletions
diff --git a/external/icu/clang-cl.patch.0 b/external/icu/clang-cl.patch.0
index cef630cc14b8..4df5d0f56c83 100644
--- a/external/icu/clang-cl.patch.0
+++ b/external/icu/clang-cl.patch.0
@@ -1,3 +1,16 @@
+--- 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 @@