# Node ID 9cc9191ffcd56a91286c04f4691a9ff0b44d837c # Parent 2f9aecba23623a188e3c775530cdc47dc78dec6e diff --git a/util/regress b/util/regress --- a/util/regress +++ b/util/regress @@ -155,6 +155,12 @@ if options.update_ref: scons_opts += ' --update-ref' +# We generally compile gem5.fast only to make sure it compiles OK; +# it's not very useful to run as a regression test since assertions +# are disabled. Thus there's not much point spending time on +# link-time optimization. +scons_opts += ' --no-lto' + cmd = 'scons --ignore-style %s %s' % (scons_opts, ' '.join(targets)) if options.no_exec: print cmd