1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-23 20:15:19 -07:00

msys2 supports -Ofast and -flto these days

This commit is contained in:
Frank Denis 2016-04-13 08:52:56 +02:00
parent 3fe5590b94
commit 535449612d
2 changed files with 4 additions and 2 deletions

View File

@ -1,6 +1,7 @@
#! /bin/sh #! /bin/sh
export CFLAGS="-O3 -fomit-frame-pointer -m32 -march=pentium3 -mtune=westmere" export CFLAGS="-Ofast -fomit-frame-pointer -m32 -march=pentium3 -mtune=westmere"
export LDFLAGS="-m32 -march=pentium3 -flto"
export PREFIX="$(pwd)/libsodium-win32" export PREFIX="$(pwd)/libsodium-win32"
make distclean > /dev/null make distclean > /dev/null

View File

@ -1,6 +1,7 @@
#! /bin/sh #! /bin/sh
export CFLAGS="-O3 -fomit-frame-pointer -m64 -mtune=westmere" export CFLAGS="-Ofast -fomit-frame-pointer -m64 -mtune=westmere -flto"
export LDFLAGS="-m64 -flto"
export PREFIX="$(pwd)/libsodium-win64" export PREFIX="$(pwd)/libsodium-win64"
make distclean > /dev/null make distclean > /dev/null