config: fix build on RHEL 7.6 for Power9
authorDavid Christensen <drc@linux.vnet.ibm.com>
Wed, 14 Aug 2019 18:36:40 +0000 (13:36 -0500)
committerDavid Marchand <david.marchand@redhat.com>
Sun, 27 Oct 2019 09:41:50 +0000 (10:41 +0100)
commitb681965dbe67794353c11c9085e3daeeeaf69bcf
tree920024f9cbd86c26003c5b1cdbfe74c98216c81b
parent9195ef7f7836bc50a1c797d05c65ee98464b2b8c
config: fix build on RHEL 7.6 for Power9

gcc 4.8.5 used on RHEL 7.6 can identify a Power 9 CPU but cannot generate
Power 9 code when the "-mcpu=native" command line argument is used. Test
whether the compiler can generate Power 9 code and adjust the machine
setting appropriately.

Signed-off-by: David Christensen <drc@linux.vnet.ibm.com>
config/ppc_64/meson.build