summaryrefslogtreecommitdiff
path: root/mingw-build-memo
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2014-04-15 23:02:45 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2014-04-15 23:02:45 +0900
commit83691981e3a2d93a35e8e80b80e1175891799082 (patch)
tree99261cf4e38898d55e6306a1203a420e62a5aa60 /mingw-build-memo
parente4135ca669c94acbc1a8ad8ef673aaa4d9cfd993 (diff)
mingw32: Enable wintls and compile with GMP
By enabling wintls, we can use Windows certificate store to validate server's certificate. Previously, we built windows build using openssl and since we don't bundle CA certificates, aria2 fails to validate server's certificate unless user setups their CA certificates. GMP provides fast big integer calculations, whic is used in BitTorrent encryption.
Diffstat (limited to 'mingw-build-memo')
-rw-r--r--mingw-build-memo16
1 files changed, 16 insertions, 0 deletions
diff --git a/mingw-build-memo b/mingw-build-memo
index aba2b69f..3fb3b2c8 100644
--- a/mingw-build-memo
+++ b/mingw-build-memo
@@ -7,6 +7,22 @@ HOST=i686-w64-mingw32
HOST=x86_64-w64-mingw32
./Configure --cross-compile-prefix=$HOST- --prefix=/usr/local/$HOST mingw64
+GMP
+---
+
+HOST=i686-w64-mingw32
+./configure \
+ --disable-shared \
+ --enable-static \
+ --prefix=/usr/local/$HOST \
+ --host=$HOST \
+ --disable-cxx \
+ --enable-fat \
+ CFLAGS="-mtune=generic -O2 -g0"
+
+HOST=x86_64-w64-mingw32
+The configure command-line is the same as i686 version.
+
Sqlite
------