From 9c6cfc9a15181bcb0e8c38de9d0413a9b76b4d73 Mon Sep 17 00:00:00 2001 From: OBattler Date: Wed, 6 May 2020 00:27:05 +0200 Subject: [PATCH] Optimized builds are now compiled with -fp-contact=fast for a slight performance improvement. --- 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 e57efc9bd..381e446fb 100644 --- a/src/win/Makefile.mingw +++ b/src/win/Makefile.mingw @@ -320,7 +320,7 @@ else ifeq ($(OPTIM), y) AOPTIM := -mtune=native ifndef COPTIM - COPTIM := -O3 -flto=$(FLTO) + COPTIM := -O3 -ffp-contract=fast -flto=$(FLTO) endif else ifndef COPTIM diff --git a/src/win/Makefile_ndr.mingw b/src/win/Makefile_ndr.mingw index 1967963ea..e33767ad4 100644 --- a/src/win/Makefile_ndr.mingw +++ b/src/win/Makefile_ndr.mingw @@ -317,7 +317,7 @@ else ifeq ($(OPTIM), y) AOPTIM := -mtune=native ifndef COPTIM - COPTIM := -O3 -flto=$(FLTO) + COPTIM := -O3 -ffp-contract=fast -flto=$(FLTO) endif else ifndef COPTIM