From: Marco Costalba Date: Tue, 4 Jan 2011 10:09:35 +0000 (+0100) Subject: Use -O3 instead of -fast for Linux icc X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=07fcc8076d302ff3d05dab5259bce23be6677cb7;hp=be5b32bb9cbf134ccf8df7c17554557e9828957d 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 --- diff --git a/src/Makefile b/src/Makefile index c836fd42..ad361153 100644 --- a/src/Makefile +++ b/src/Makefile @@ -278,10 +278,10 @@ ifeq ($(optimize),yes) endif ifeq ($(comp),icc) - CXXFLAGS += -fast - ifeq ($(os),osx) - CXXFLAGS += -mdynamic-no-pic + CXXFLAGS += -fast -mdynamic-no-pic + else + CXXFLAGS += -O3 endif endif endif