msys2 build scripts: just use -Ofast

This commit is contained in:
Frank Denis 2017-12-12 23:42:54 +01:00
parent 95a7dc5e46
commit 1d85e73d8f
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
#! /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 PREFIX="$(pwd)/libsodium-win32"
if (i686-w64-mingw32-gcc --version > /dev/null 2>&1) then

View File

@ -1,6 +1,6 @@
#! /bin/sh
export CFLAGS="-O3 -fomit-frame-pointer -m64 -mtune=westmere"
export CFLAGS="-Ofast -fomit-frame-pointer -m64 -mtune=westmere"
export PREFIX="$(pwd)/libsodium-win64"
if (x86_64-w64-mingw32-gcc --version > /dev/null 2>&1) then