]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
zstd-pgo: do not make clean and zstd in parallel
authorBernhard M. Wiedemann <bwiedemann@suse.de>
Mon, 29 Oct 2018 14:11:28 +0000 (15:11 +0100)
committerBernhard M. Wiedemann <bwiedemann@suse.de>
Mon, 29 Oct 2018 14:11:28 +0000 (15:11 +0100)
otherwise, there might not be a ./zstd to run

programs/Makefile

index d0184c6c71c8caf7b89c4c6ba9de46dc4d1e4847..7b89e920410e8fee0ca709a607bd997c4ea0d4cb 100644 (file)
@@ -203,8 +203,9 @@ zstd-noxz : LZMA_MSG := - xz/lzma support is disabled
 zstd-noxz : zstd
 
 
-zstd-pgo : MOREFLAGS = -fprofile-generate
-zstd-pgo : clean zstd
+zstd-pgo :
+       $(MAKE) clean
+       $(MAKE) zstd MOREFLAGS=-fprofile-generate
        ./zstd -b19i1 $(PROFILE_WITH)
        ./zstd -b16i1 $(PROFILE_WITH)
        ./zstd -b9i2 $(PROFILE_WITH)