summaryrefslogtreecommitdiff
path: root/src/mem/cache
diff options
context:
space:
mode:
authorAndreas Hansson <andreas.hansson@arm.com>2013-07-18 08:29:28 -0400
committerAndreas Hansson <andreas.hansson@arm.com>2013-07-18 08:29:28 -0400
commit3ede4dceb84fd4930ccb132659198741ae47730f (patch)
tree311be566554c0e7922276f218e374fe0c24b5a85 /src/mem/cache
parent204df3b9282fe8f178e9eecf466155912cb8b67c (diff)
downloadgem5-3ede4dceb84fd4930ccb132659198741ae47730f.tar.xz
scons: Use python-config instead of distutils
This patch changes how we determine the Python-related compiler and linker flags. The previous approach used the internal LINKFORSHARED which is not intended as part of the external API (http://bugs.python.org/issue3588) and causes failures on recent OSX installations. Instead of using distutils we now rely on python-config and scons ParseConfig. For backwards compatibility we also parse out the includes and libs although this could safely be dropped. The drawback of this patch is that Python 2.5 is now required, but hopefully that is an acceptable compromise as any system with gcc 4.4 most likely will have Python >= 2.5.
Diffstat (limited to 'src/mem/cache')
0 files changed, 0 insertions, 0 deletions