diff options
author | Patrick Gartung <gartung@fnal.gov> | 2016-08-31 12:13:08 -0500 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2016-09-20 23:34:15 -0700 |
commit | e6dc448f1843078f922d9ff018cc4bd0c9a19967 (patch) | |
tree | 9f5d9643e0d50c79c3bef0bf02b35820fdbd83e9 /var | |
parent | 27801c354be7e05bca1b3fd68468db1d2728376b (diff) | |
download | spack-e6dc448f1843078f922d9ff018cc4bd0c9a19967.tar.gz spack-e6dc448f1843078f922d9ff018cc4bd0c9a19967.tar.bz2 spack-e6dc448f1843078f922d9ff018cc4bd0c9a19967.tar.xz spack-e6dc448f1843078f922d9ff018cc4bd0c9a19967.zip |
Compiling python with gnu c++ on macos fails with toolboxglue enabled.
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/python/package.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/python/package.py b/var/spack/repos/builtin/packages/python/package.py index 57783b0542..e95bb4ba24 100644 --- a/var/spack/repos/builtin/packages/python/package.py +++ b/var/spack/repos/builtin/packages/python/package.py @@ -110,6 +110,8 @@ class Python(Package): 'CPPFLAGS=-I{0}'.format(' -I'.join(dp.include for dp in dep_pfxs)), 'LDFLAGS=-L{0}'.format(' -L'.join(dp.lib for dp in dep_pfxs)), ] + if spec.satisfies("platform=darwin") and ('%gcc' in spec): + config_args.append('--disable-toolbox-glue') if '+ucs4' in spec: if spec.satisfies('@:2.7'): |