diff options
author | Werner Koch <wk@gnupg.org> | 2012-11-05 19:21:51 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2013-03-18 16:15:53 +0100 |
commit | a41462c30934a64c337979f57497d597fd86216b (patch) | |
tree | 68c84d1dc40cdf2124576a1173897d21231ccbf9 | |
parent | 52ba311f778f026a175c5a13ec23b6acf271f883 (diff) | |
download | libgcrypt-a41462c30934a64c337979f57497d597fd86216b.tar.gz |
Allow building with w64-mingw32
* autogen.sh <--build-w32>: Support the w64-mingw32 toolchain. Also
prepare for 64 bit building.
<git-setup>: Remove option -c from chmod.
-rwxr-xr-x | autogen.sh | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -65,6 +65,10 @@ case "$1" in myhost="w32" myhostsub="ce" ;; + --build-w64) + myhost="w32" + myhostsub="64" + ;; --build-amd64) myhost="amd64" ;; @@ -95,9 +99,15 @@ if [ "$myhost" = "w32" ]; then [ -z "$w32root" ] && w32root="$HOME/w32ce_root" toolprefixes="arm-mingw32ce" ;; + 64) + w32root="$w64root" + [ -z "$w32root" ] && w32root="$HOME/w64root" + toolprefixes="$amd64_toolprefixes amd64-mingw32msvc" + ;; *) [ -z "$w32root" ] && w32root="$HOME/w32root" - toolprefixes="i586-mingw32msvc i386-mingw32msvc" + toolprefixes="$w32_toolprefixes i686-w64-mingw32 i586-mingw32msvc" + toolprefixes="$toolprefixes i386-mingw32msvc mingw32" ;; esac echo "Using $w32root as standard install directory" >&2 |