From 22f2a6c884153dfc3cf84a3b2d95cc91e59f9961 Mon Sep 17 00:00:00 2001 From: Andrea Mazzoleni Date: Sat, 16 Jan 2016 22:05:44 +0100 Subject: [PATCH] Restore the use of -O2 for Windows binaries --- HISTORY | 2 ++ makedist.sh | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/HISTORY b/HISTORY index 03e96abc..61d66a8d 100644 --- a/HISTORY +++ b/HISTORY @@ -31,6 +31,8 @@ SnapRAID HISTORY This had no bad effect, if not preventing the 'sync' command to run. A workaround was to just run 'sync' one time with the -N, --force-nocopy option to disable the copy detection. + * Restored the -O2 optimization option for Windows binaries, as -Og has a + too big performance penality. 9.2 2016/01 =========== diff --git a/makedist.sh b/makedist.sh index 0ba198e9..7741ddbf 100755 --- a/makedist.sh +++ b/makedist.sh @@ -2,14 +2,14 @@ # CHECK=check -DEBUG=--enable-debug +DEBUG= if test "x$1" = "x-f"; then CHECK=clean fi -if test "x$1" = "x-r"; then -DEBUG= +if test "x$1" = "x-d"; then +DEBUG=--enable-debug fi make distclean