diff options
Diffstat (limited to 'dist-build/msys2-win32.sh')
-rwxr-xr-x | dist-build/msys2-win32.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/dist-build/msys2-win32.sh b/dist-build/msys2-win32.sh new file mode 100755 index 0000000..5809d45 --- /dev/null +++ b/dist-build/msys2-win32.sh @@ -0,0 +1,10 @@ +#! /bin/sh + +export CFLAGS="-O3 -fomit-frame-pointer -m32 -march=pentium2 -mtune=nocona" +export PREFIX="$(pwd)/libsodium-win32" + +./configure --prefix="$PREFIX" --exec-prefix="$PREFIX" \ + --host=i686-w64-mingw32 && \ +make && \ +make check && \ +make install |