From 3c34b9ec30f4d07414a8053ae39be555001c64cc Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Mon, 27 Jun 2022 19:45:58 -0600 Subject: [PATCH] [mingw2] Turn optimization flag on --- mingw-configure.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mingw-configure.sh b/mingw-configure.sh index 2fe3a092c..496cae291 100755 --- a/mingw-configure.sh +++ b/mingw-configure.sh @@ -17,7 +17,7 @@ exec "$(dirname "$0")"/configure \ CPP= \ LD= \ CFLAGS="-static-libgcc" \ - CXXFLAGS="-static-libgcc -static-libstdc++" \ + CXXFLAGS="-O2 -static-libgcc -static-libstdc++" \ CPPFLAGS="-I$HOME/.local/$target/include" \ LDFLAGS=-L$HOME/.local/$target/lib \ PKG_CONFIG_LIBDIR=$HOME/.local/$target/lib/pkgconfig:/usr/$target/sys-root/mingw/lib/pkgconfig/ \