Revert "Fix profile build for gcc on Mac OSX"
[stockfish] / src / Makefile
index 1f4ce73..53bbc1f 100644 (file)
@@ -447,7 +447,7 @@ gcc-profile-prepare:
 
 gcc-profile-make:
        $(MAKE) ARCH=$(ARCH) COMP=$(COMP) \
-       EXTRACXXFLAGS='-fprofile-generate' \
+       EXTRACXXFLAGS='-fprofile-arcs' \
        EXTRALDFLAGS='-lgcov' \
        all
 
@@ -456,7 +456,7 @@ gcc-profile-use:
 # "internal compiler error" for gcc versions 4.7.x
        @rm -f ucioption.gc*
        $(MAKE) ARCH=$(ARCH) COMP=$(COMP) \
-       EXTRACXXFLAGS='-fprofile-use' \
+       EXTRACXXFLAGS='-fbranch-probabilities' \
        EXTRALDFLAGS='-lgcov' \
        all