Restore the use of -O2 for Windows binaries

This commit is contained in:
Andrea Mazzoleni 2016-01-16 22:05:44 +01:00
parent f3046b4053
commit 03e95343f1
2 changed files with 5 additions and 3 deletions

View file

@ -12,6 +12,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
===========

View file

@ -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