scons: Update python-config flags for python3.8
authorJason Lowe-Power <jason@lowepower.com>
Thu, 7 May 2020 00:38:41 +0000 (17:38 -0700)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Tue, 12 May 2020 07:48:59 +0000 (07:48 +0000)
commit0bc5d77ed27e0765953d93c2376a4b4aea675a01
tree97b8ed49803083ba09cfc4b68acf21a09d864fa0
parent2d6cd436f795b9159da753aae799acfbcc73560a
scons: Update python-config flags for python3.8

Starting in python 3.8 the python3-config utility requires the --embed
flag to output -lpython3.8. Without this flag, gem5 won't link to the
python library.

More details: https://bugs.python.org/issue36721
https://github.com/python/cpython/pull/13500

Change-Id: Id9c63577dcd2defa7ae62cc32e042c4a245e7082
Signed-off-by: Jason Lowe-Power <jason@lowepower.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/28687
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
SConstruct