From 9a9dc02ee1b0dfbf4f1e0e12139fb2f1ad8854de Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Wed, 13 Apr 2016 11:13:59 +0200 Subject: [PATCH] Do not 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 dcc9ee06..a1e73fd8 100755 --- a/dist-build/msys2-win32.sh +++ b/dist-build/msys2-win32.sh @@ -1,6 +1,6 @@ #! /bin/sh -export CFLAGS="-Ofast -fomit-frame-pointer -m32 -march=pentium3 -mtune=westmere" +export CFLAGS="-O3 -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 0b38d6dd..2a7961a8 100755 --- a/dist-build/msys2-win64.sh +++ b/dist-build/msys2-win64.sh @@ -1,6 +1,6 @@ #! /bin/sh -export CFLAGS="-Ofast -fomit-frame-pointer -m64 -mtune=westmere" +export CFLAGS="-O3 -fomit-frame-pointer -m64 -mtune=westmere" export PREFIX="$(pwd)/libsodium-win64" if (x86_64-w64-mingw32-gcc --version > /dev/null 2>&1) then