X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2FMakefile;h=a9715ec9a0fc2d4290ebbc57447b432835bc2ac3;hp=b641747ae623f20d201e3d56bc7421398201a566;hb=e5c7b44f7abf49170ffba98940c7c8bf95806d07;hpb=323103826274c6ea23d36fd05ef0744f8d38cd3f diff --git a/src/Makefile b/src/Makefile index b641747a..a9715ec9 100644 --- a/src/Makefile +++ b/src/Makefile @@ -373,9 +373,6 @@ profile-build: @$(PGOBENCH) > /dev/null @echo "" @echo "Step 3/4. Building final executable ..." -# Deleting corrupt ucioption.gc* profile files is necessary to avoid an -# "internal compiler error" for gcc versions 4.7.x - @rm ucioption.gc* @touch *.cpp *.h syzygy/*.cpp syzygy/*.h $(MAKE) ARCH=$(ARCH) COMP=$(COMP) $(profile_use) @echo "" @@ -447,6 +444,9 @@ gcc-profile-make: all gcc-profile-use: +# Deleting corrupt ucioption.gc* profile files is necessary to avoid an +# "internal compiler error" for gcc versions 4.7.x + @rm -f ucioption.gc* $(MAKE) ARCH=$(ARCH) COMP=$(COMP) \ EXTRACXXFLAGS='-fbranch-probabilities' \ EXTRALDFLAGS='-lgcov' \