Revert "Fix profile build for gcc on Mac OSX"
authorJoona Kiiski <joona.kiiski@gmail.com>
Sun, 25 Jan 2015 21:46:02 +0000 (21:46 +0000)
committerJoona Kiiski <joona.kiiski@gmail.com>
Sun, 25 Jan 2015 21:51:09 +0000 (21:51 +0000)
Seems to be a performance regression for standard build.

For SF6 people compiling on Mac OSX using profile-build option
just need to make necessary adjustments manually...

No functional change

Resolves #223

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