]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
pgo: also optimize compression 1398/head
authorBernhard M. Wiedemann <bwiedemann@suse.de>
Mon, 29 Oct 2018 16:20:03 +0000 (17:20 +0100)
committerBernhard M. Wiedemann <bwiedemann@suse.de>
Mon, 29 Oct 2018 16:20:03 +0000 (17:20 +0100)
and clean *.o so that linking does not fail from code
that is partially augmented with coverage generation instructions

programs/Makefile

index 7b89e920410e8fee0ca709a607bd997c4ea0d4cb..0bfb8b9a689c4dd0dad0c1a60aba4bd1d5e355b6 100644 (file)
@@ -212,8 +212,7 @@ zstd-pgo :
        ./zstd -b $(PROFILE_WITH)
        ./zstd -b7i2 $(PROFILE_WITH)
        ./zstd -b5 $(PROFILE_WITH)
-       $(RM) zstd
-       $(RM) $(ZSTDDECOMP_O)
+       $(RM) zstd *.o $(ZSTDDECOMP_O) $(ZSTDDIR)/compress/*.o
        $(MAKE) zstd MOREFLAGS=-fprofile-use
 
 # minimal target, with only zstd compression and decompression. no bench. no legacy.