scons: fix disable_partial logic for fast binary
authorHoa Nguyen <hoanguyen@ucdavis.edu>
Fri, 1 Mar 2019 01:51:51 +0000 (17:51 -0800)
committerGabe Black <gabeblack@google.com>
Mon, 18 Mar 2019 22:22:25 +0000 (22:22 +0000)
commit2a28a4f8d2ac1471ef3ba943fa5f52a2331759bf
treee1848c7026e79c1edfe56cae363ca9728fd94e8b
parenteba0a509d80182c479e41d28bf71d3061f18590b
scons: fix disable_partial logic for fast binary

Partial linking should be disabled on darwin; however, the script
fails to do so when force_lto is set, which results in gem5 building
with fast option fails on macOS. This fix changes disable_partial
logic, which should be True once it's True.

Signed-off-by: Hoa Nguyen <hoanguyen@ucdavis.edu>
Change-Id: I77d2a4cc4a9bf5c92c800c004eb744bb7081c42e
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/16888
Reviewed-by: Gabe Black <gabeblack@google.com>
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
src/SConscript