summaryrefslogtreecommitdiff
path: root/external/curl/clang-cl.patch.0
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-10-27 16:03:02 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-10-27 16:08:45 +0200
commitc1d0b19b43767e3ead431357e91949e1f548283e (patch)
tree4a970476aa4e3a06245e613e90d60028cd03f2ec /external/curl/clang-cl.patch.0
parentb492ee19978bcb99d767f7808fa1d3692486f6f7 (diff)
external/curl: Work around clang-cl not knowing /FD
("IDE Minimal Rebuild", according to <https://msdn.microsoft.com/en-us/library/6ce2bkt7.aspx>) Change-Id: I1b549c50bea4285bc6c89302f757f2e7e0bf1784
Diffstat (limited to 'external/curl/clang-cl.patch.0')
-rwxr-xr-xexternal/curl/clang-cl.patch.011
1 files changed, 11 insertions, 0 deletions
diff --git a/external/curl/clang-cl.patch.0 b/external/curl/clang-cl.patch.0
new file mode 100755
index 000000000000..2f7fe567460c
--- /dev/null
+++ b/external/curl/clang-cl.patch.0
@@ -0,0 +1,11 @@
+--- winbuild/MakefileBuild.vc
++++ winbuild/MakefileBuild.vc
+@@ -60,7 +60,7 @@
+ !ELSE
+ CC_NODEBUG = $(CC) /O2 /DNDEBUG
+ CC_DEBUG = $(CC) /Od /D_DEBUG /RTC1 /Z7 /LDd
+-CFLAGS = /I. /I ../lib /I../include /nologo /W4 /wd4127 /EHsc /DWIN32 /FD /c /DBUILDING_LIBCURL $(SOLARINC)
++CFLAGS = /I. /I ../lib /I../include /nologo /W4 /wd4127 /EHsc /DWIN32 /c /DBUILDING_LIBCURL $(SOLARINC)
+ !ENDIF
+
+ LFLAGS = /nologo /machine:$(MACHINE)