diff options
author | Rich Felker <dalias@aerifal.cx> | 2015-08-30 18:44:58 +0000 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2015-08-30 18:44:58 +0000 |
commit | d18cf76d73df8f9cc751d4b4ba5a635c70c0c645 (patch) | |
tree | 84bdeafde0e808c168705061b5184843e8611594 | |
parent | 650b04f8cc66d4153fa7e47505dae6d8f0a24704 (diff) | |
download | musl-d18cf76d73df8f9cc751d4b4ba5a635c70c0c645.tar.gz musl-d18cf76d73df8f9cc751d4b4ba5a635c70c0c645.tar.xz musl-d18cf76d73df8f9cc751d4b4ba5a635c70c0c645.zip |
remove use of buggy .SECONDARY special target in makefile
this functionality is affected by GNU make bug #30653, "intermediate files incorrectly pruned in parallel builds". on affected versions of make, parallel builds attempt to compile source files before alltypes.h is generated. as noted with commit a91ebdcfac6804714a1fe39f4375e2b4ebab085b, which added the use of .SECONDARY, suppression of removal of "intermediate" files does not seem to be needed at present. if it is needed in the future, it should be achievable by explicitly mentioning their names as targets or prerequisites.
-rw-r--r-- | Makefile | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Makefile b/Makefile index 07336d27..5a6a43b9 100644 --- a/Makefile +++ b/Makefile @@ -203,6 +203,4 @@ musl-git-%.tar.gz: .git musl-%.tar.gz: .git git archive --format=tar.gz --prefix=$(patsubst %.tar.gz,%,$@)/ -o $@ v$(patsubst musl-%.tar.gz,%,$@) -.SECONDARY: - .PHONY: all clean install install-libs install-headers install-tools |