Use minimal builds on msys2

This commit is contained in:
Frank Denis 2015-11-11 12:41:41 +01:00
parent 1f18cf383a
commit cc29da17c3
2 changed files with 4 additions and 2 deletions

View File

@ -3,7 +3,8 @@
export CFLAGS="-O3 -fomit-frame-pointer -m32 -march=pentium2 -mtune=nocona" export CFLAGS="-O3 -fomit-frame-pointer -m32 -march=pentium2 -mtune=nocona"
export PREFIX="$(pwd)/libsodium-win32" export PREFIX="$(pwd)/libsodium-win32"
./configure --prefix="$PREFIX" --exec-prefix="$PREFIX" \ ./configure --enable-minimal \
--prefix="$PREFIX" --exec-prefix="$PREFIX" \
--host=i686-w64-mingw32 && \ --host=i686-w64-mingw32 && \
make && \ make && \
make check && \ make check && \

View File

@ -3,7 +3,8 @@
export CFLAGS="-O3 -fomit-frame-pointer -m64 -mtune=nocona" export CFLAGS="-O3 -fomit-frame-pointer -m64 -mtune=nocona"
export PREFIX="$(pwd)/libsodium-win64" export PREFIX="$(pwd)/libsodium-win64"
./configure --prefix="$PREFIX" --exec-prefix="$PREFIX" \ ./configure --enable-minimal \
--prefix="$PREFIX" --exec-prefix="$PREFIX" \
--host=x86_64-w64-mingw32 && \ --host=x86_64-w64-mingw32 && \
make && \ make && \
make check && \ make check && \