From e6dc448f1843078f922d9ff018cc4bd0c9a19967 Mon Sep 17 00:00:00 2001 From: Patrick Gartung Date: Wed, 31 Aug 2016 12:13:08 -0500 Subject: Compiling python with gnu c++ on macos fails with toolboxglue enabled. --- var/spack/repos/builtin/packages/python/package.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'var') 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'): -- cgit v1.2.3-70-g09d2