From 1d85e73d8fb99f85371e78170bf0f15521c5c6ee Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Tue, 12 Dec 2017 23:42:54 +0100 Subject: [PATCH] msys2 build scripts: just use -Ofast --- dist-build/msys2-win32.sh | 2 +- dist-build/msys2-win64.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist-build/msys2-win32.sh b/dist-build/msys2-win32.sh index a1e73fd8..dcc9ee06 100755 --- a/dist-build/msys2-win32.sh +++ b/dist-build/msys2-win32.sh @@ -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 diff --git a/dist-build/msys2-win64.sh b/dist-build/msys2-win64.sh index 2a7961a8..0b38d6dd 100755 --- a/dist-build/msys2-win64.sh +++ b/dist-build/msys2-win64.sh @@ -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