diff options
| author | Steven Fackler <[email protected]> | 2014-06-17 19:41:16 -0700 |
|---|---|---|
| committer | Steven Fackler <[email protected]> | 2014-06-17 19:41:16 -0700 |
| commit | 7a294aff02d5caf0d62b7272b8a6a334f8c21fa9 (patch) | |
| tree | 1c1f4f808085383d4e36955eae59294984237ba1 | |
| parent | Fix parallel builds (diff) | |
| download | rust-openssl-7a294aff02d5caf0d62b7272b8a6a334f8c21fa9.tar.xz rust-openssl-7a294aff02d5caf0d62b7272b8a6a334f8c21fa9.zip | |
Stop using stamps for multi-targets
It breaks dep-info
| -rw-r--r-- | Makefile.in | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Makefile.in b/Makefile.in index c0ed5945..e1c42116 100644 --- a/Makefile.in +++ b/Makefile.in @@ -6,7 +6,6 @@ INSTALL_DIR := %PREFIX% OPENSSL_LIB := lib.rs OPENSSL := $(foreach file,$(shell $(RUSTC) --crate-file-name $(OPENSSL_LIB)),$(BUILDDIR)/$(file)) -OPENSSL_STAMP := $(BUILDDIR)/openssl.stamp OPENSSL_TEST := $(BUILDDIR)/$(shell $(RUSTC) --test --crate-file-name $(OPENSSL_LIB)) all: $(OPENSSL) @@ -17,11 +16,10 @@ all: $(OPENSSL) $(BUILDDIR): mkdir -p $@ -$(OPENSSL): $(OPENSSL_STAMP) +.NOTPARALLEL: $(OPENSSL) -$(OPENSSL_STAMP): $(OPENSSL_LIB) | $(BUILDDIR) +$(OPENSSL): $(OPENSSL_LIB) | $(BUILDDIR) $(RUSTC) $(RUSTFLAGS) --dep-info $(@D)/openssl.d --out-dir $(@D) $< - touch $(OPENSSL_STAMP) check: $(OPENSSL_TEST) $< |