From 6750e8b2874079c1d36f661038efdb436e2ccdc7 Mon Sep 17 00:00:00 2001 From: OBattler Date: Thu, 16 Jan 2020 20:50:28 +0100 Subject: [PATCH] Optimized builds no longer unroll loops, produces smaller (by ~300k) and slightly faster binaries. --- src/win/Makefile.mingw | 2 +- src/win/Makefile_ndr.mingw | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/win/Makefile.mingw b/src/win/Makefile.mingw index a2f5b3329..1a8fc061b 100644 --- a/src/win/Makefile.mingw +++ b/src/win/Makefile.mingw @@ -530,7 +530,7 @@ endif # Final versions of the toolchain flags. CFLAGS := $(WX_FLAGS) $(OPTS) $(DFLAGS) $(COPTIM) $(AOPTIM) \ $(AFLAGS) -fomit-frame-pointer -mstackrealign -Wall \ - -fno-strict-aliasing -funroll-loops + -fno-strict-aliasing # Add freetyp2 references through pkgconfig CFLAGS := $(CFLAGS) `pkg-config.exe --cflags freetype2` diff --git a/src/win/Makefile_ndr.mingw b/src/win/Makefile_ndr.mingw index fee58bd0c..227707181 100644 --- a/src/win/Makefile_ndr.mingw +++ b/src/win/Makefile_ndr.mingw @@ -536,7 +536,7 @@ endif # Final versions of the toolchain flags. CFLAGS := $(WX_FLAGS) $(OPTS) $(DFLAGS) $(COPTIM) $(AOPTIM) \ $(AFLAGS) -fomit-frame-pointer -mstackrealign -Wall \ - -fno-strict-aliasing -funroll-loops + -fno-strict-aliasing # Add freetyp2 references through pkgconfig CFLAGS := $(CFLAGS) `pkg-config.exe --cflags freetype2`