summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
79c5f3a)
This patch fixes a potential bug derived from an incompatibility between LTO and top-level assembly code (INCBIN).
Passed non-regression STC (master
e90341f):
LLR: 2.94 (-2.94,2.94) <-1.75,0.25>
Total: 119352 W: 31986 L: 31862 D: 55504
Ptnml(0-2): 439, 12624, 33400, 12800, 413
https://tests.stockfishchess.org/tests/view/
634aacf84bc7650f0755188b
closes https://github.com/official-stockfish/Stockfish/pull/4201
No functional change
Stefano Cardanobile (Stefano80)
Steinar Gunderson (sesse)
Stéphane Nicolet (snicolet)
Stefano Cardanobile (Stefano80)
Steinar Gunderson (sesse)
Stéphane Nicolet (snicolet)
Prokop Randáček (ProkopRandacek)
Thanar2
thaspel
Prokop Randáček (ProkopRandacek)
Thanar2
thaspel
ifeq ($(optimize),yes)
ifeq ($(debug), no)
ifeq ($(comp),clang)
ifeq ($(optimize),yes)
ifeq ($(debug), no)
ifeq ($(comp),clang)
ifeq ($(target_windows),yes)
CXXFLAGS += -fuse-ld=lld
endif
ifeq ($(target_windows),yes)
CXXFLAGS += -fuse-ld=lld
endif
# GCC on some systems.
else ifeq ($(comp),gcc)
ifeq ($(gccisclang),)
# GCC on some systems.
else ifeq ($(comp),gcc)
ifeq ($(gccisclang),)
+ CXXFLAGS += -flto -flto-partition=one
LDFLAGS += $(CXXFLAGS) -flto=jobserver
else
LDFLAGS += $(CXXFLAGS) -flto=jobserver
else
LDFLAGS += $(CXXFLAGS)
endif
LDFLAGS += $(CXXFLAGS)
endif