mirror of
https://github.com/official-stockfish/Stockfish.git
synced 2026-07-22 12:47:08 +00:00
Add -fno-ipa-cp-clone for mingw
Add -fno-ipa-cp-clone for mingw just as we do for gcc. I get about a 1% speedup. My machine is pretty unreliable for bench so maybe someone can verify. closes https://github.com/official-stockfish/Stockfish/pull/6973 No functional change
This commit is contained in:
committed by
Joost VandeVondele
parent
a255ad59e3
commit
8ddea72917
@@ -681,6 +681,8 @@ ifeq ($(COMP),gcc)
|
||||
else
|
||||
CXXFLAGS += -Wstack-usage=128000 -fno-ipa-cp-clone -fconstexpr-ops-limit=500000000
|
||||
endif
|
||||
else ifeq ($(COMP),mingw)
|
||||
CXXFLAGS += -fno-ipa-cp-clone
|
||||
endif
|
||||
|
||||
### On mingw use Windows threads, otherwise POSIX
|
||||
|
||||
Reference in New Issue
Block a user