mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-26 12:06:22 +08:00
Use -O3 instead of -fast for Linux icc
Reported by Heinz and confirmed by Joona to increase the speed of 6% ! No change for icc on OSX Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -278,10 +278,10 @@ ifeq ($(optimize),yes)
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(comp),icc)
|
ifeq ($(comp),icc)
|
||||||
CXXFLAGS += -fast
|
|
||||||
|
|
||||||
ifeq ($(os),osx)
|
ifeq ($(os),osx)
|
||||||
CXXFLAGS += -mdynamic-no-pic
|
CXXFLAGS += -fast -mdynamic-no-pic
|
||||||
|
else
|
||||||
|
CXXFLAGS += -O3
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|||||||
Reference in New Issue
Block a user