Skip to content

Commit

Permalink
msys2 build scripts: just use -Ofast
Browse files Browse the repository at this point in the history
  • Loading branch information
jedisct1 committed Dec 12, 2017
1 parent 95a7dc5 commit 1d85e73
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist-build/msys2-win32.sh
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion dist-build/msys2-win64.sh
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 1d85e73

Please sign in to comment.