Skip to content

Commit

Permalink
Remove questionable gcc flags from profile-build
Browse files Browse the repository at this point in the history
Optimization options for official stockfish should be
consistent, easy, future proof and simple.

We don't want to optimize for any specific version of gcc

No functional change

Closes official-stockfish#1165
  • Loading branch information
zamar committed Jul 8, 2017
1 parent c8e5384 commit 0371a8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@ gcc-profile-make:

gcc-profile-use:
$(MAKE) ARCH=$(ARCH) COMP=$(COMP) \
EXTRACXXFLAGS='-fprofile-use -fno-peel-loops -fno-tracer' \
EXTRACXXFLAGS='-fprofile-use' \
EXTRALDFLAGS='-lgcov' \
all

Expand Down

0 comments on commit 0371a8f

Please sign in to comment.