pgo: also optimize compression

and clean *.o so that linking does not fail from code
that is partially augmented with coverage generation instructions
This commit is contained in:
Bernhard M. Wiedemann 2018-10-29 17:20:03 +01:00
parent a38ad53ace
commit 572279e73e

View 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.