From a46e36f9df68f9c59157ccc3c1519413802993b5 Mon Sep 17 00:00:00 2001 From: Joel Galenson Date: Thu, 8 Aug 2019 09:05:32 -0700 Subject: [PATCH] Fix fat LTO determinism test so it fails without the fix. --- src/test/run-make-fulldeps/reproducible-build/Makefile | 4 ++-- 1 file 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 5b9c9d3d0352..addbf9928bf4 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