diff options
-rw-r--r-- | var/spack/repos/builtin/packages/py-matplotlib/package.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-matplotlib/package.py b/var/spack/repos/builtin/packages/py-matplotlib/package.py index 5a945a485f..dc7b843691 100644 --- a/var/spack/repos/builtin/packages/py-matplotlib/package.py +++ b/var/spack/repos/builtin/packages/py-matplotlib/package.py @@ -189,6 +189,8 @@ class PyMatplotlib(PythonPackage): setup.write('[libs]\n') setup.write('system_freetype = True\n') setup.write('system_qhull = True\n') + if self.spec.satisfies('%clang'): + setup.write('enable_lto = False\n') @run_after('build') @on_package_attributes(run_tests=True) |