about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJoel Galenson <jgalenson@google.com>2019-08-08 09:05:32 -0700
committerJoel Galenson <jgalenson@google.com>2019-08-08 09:05:32 -0700
commita46e36f9df68f9c59157ccc3c1519413802993b5 (patch)
tree41bebe31da7585a62b6e329fe5c3b63d02ad057d
parent5b2c5e181ac321f04621ef0b7dc78354bf3397d3 (diff)
downloadrust-a46e36f9df68f9c59157ccc3c1519413802993b5.tar.gz
rust-a46e36f9df68f9c59157ccc3c1519413802993b5.zip
Fix fat LTO determinism test so it fails without the fix.
-rw-r--r--src/test/run-make-fulldeps/reproducible-build/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/run-make-fulldeps/reproducible-build/Makefile b/src/test/run-make-fulldeps/reproducible-build/Makefile
index 5b9c9d3d035..addbf9928bf 100644
--- a/src/test/run-make-fulldeps/reproducible-build/Makefile
+++ b/src/test/run-make-fulldeps/reproducible-build/Makefile
@@ -81,7 +81,7 @@ extern_flags:
 fat_lto:
 	rm -rf $(TMPDIR) && mkdir $(TMPDIR)
 	$(RUSTC) reproducible-build-aux.rs
-	$(RUSTC) reproducible-build.rs -C lto=fat
+	$(RUSTC) reproducible-build.rs -C lto=fat -C opt-level=1
 	cp $(TMPDIR)/reproducible-build $(TMPDIR)/reproducible-build-a
-	$(RUSTC) reproducible-build.rs -C lto=fat
+	$(RUSTC) reproducible-build.rs -C lto=fat -C opt-level=1
 	cmp "$(TMPDIR)/reproducible-build-a" "$(TMPDIR)/reproducible-build" || exit 1