summaryrefslogtreecommitdiffstats
path: root/external/libtommath/libtommath-msvc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'external/libtommath/libtommath-msvc.patch')
-rw-r--r--external/libtommath/libtommath-msvc.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/external/libtommath/libtommath-msvc.patch b/external/libtommath/libtommath-msvc.patch
new file mode 100644
index 000000000..07884871a
--- /dev/null
+++ b/external/libtommath/libtommath-msvc.patch
@@ -0,0 +1,12 @@
+--- makefile.msvc 2016-02-05 23:25:32.000000000 +0100
++++ makefile.msvc 2016-07-21 11:34:20.618390100 +0200
+@@ -38,3 +38,9 @@
+
+ library: $(OBJECTS)
+ lib /out:tommath.lib $(OBJECTS)
++
++.cc.obj:
++ $(CC) /nologo $(CFLAGS) /c $<
++
++.c.obj:
++ $(CC) /nologo $(CFLAGS) /c $<