Optimized builds are now compiled with -fp-contact=fast for a slight performance improvement.

This commit is contained in:
OBattler
2020-05-06 00:27:05 +02:00
parent df3dce487f
commit 9c6cfc9a15
2 changed files with 2 additions and 2 deletions

View File

@@ -320,7 +320,7 @@ else
ifeq ($(OPTIM), y) ifeq ($(OPTIM), y)
AOPTIM := -mtune=native AOPTIM := -mtune=native
ifndef COPTIM ifndef COPTIM
COPTIM := -O3 -flto=$(FLTO) COPTIM := -O3 -ffp-contract=fast -flto=$(FLTO)
endif endif
else else
ifndef COPTIM ifndef COPTIM

View File

@@ -317,7 +317,7 @@ else
ifeq ($(OPTIM), y) ifeq ($(OPTIM), y)
AOPTIM := -mtune=native AOPTIM := -mtune=native
ifndef COPTIM ifndef COPTIM
COPTIM := -O3 -flto=$(FLTO) COPTIM := -O3 -ffp-contract=fast -flto=$(FLTO)
endif endif
else else
ifndef COPTIM ifndef COPTIM