Skip to content

Commit 07fcc80

Browse files
committed
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>
1 parent be5b32b commit 07fcc80

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -278,10 +278,10 @@ ifeq ($(optimize),yes)
278278
endif
279279

280280
ifeq ($(comp),icc)
281-
CXXFLAGS += -fast
282-
283281
ifeq ($(os),osx)
284-
CXXFLAGS += -mdynamic-no-pic
282+
CXXFLAGS += -fast -mdynamic-no-pic
283+
else
284+
CXXFLAGS += -O3
285285
endif
286286
endif
287287
endif

0 commit comments

Comments
 (0)