util: Build m5 with -no-pie flag
authorRyan Gambord <gambordr@oregonstate.edu>
Mon, 18 Mar 2019 08:08:32 +0000 (01:08 -0700)
committerRyan Gambord <gambordr@oregonstate.edu>
Tue, 19 Mar 2019 00:13:50 +0000 (00:13 +0000)
commitf870912a00dfa6b1ef8139ed35f65ef886b198c6
tree7d38ef203e46680518658d3c2ecc6464a9d4a9ee
parent2da37b5efa70c34aa3665c947b0ef10c4e2a3ae7
util: Build m5 with -no-pie flag

Added -no-pie flag to link /util/m5 to support newer versions of GCC
that enable PIE by default. Tested for backwards compatibility with GCC
4.3, which, only warns for the unrecognized flag.

Change-Id: I4b6df593936346b9d3e2fe29a5d85dde78b7cc5e
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/17429
Reviewed-by: Gabe Black <gabeblack@google.com>
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
util/m5/Makefile.x86