msys2 supports -Ofast and -flto these days
This commit is contained in:
parent
3fe5590b94
commit
535449612d
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user