From ab4e20a49c989defdbb6951660bb038240977edc Mon Sep 17 00:00:00 2001 From: "Adam J. Stewart" Date: Wed, 10 Jan 2018 09:47:33 -0600 Subject: [PATCH] Older versions of libiconv don't work with newer versions of GCC (#6829) --- var/spack/repos/builtin/packages/libiconv/package.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/var/spack/repos/builtin/packages/libiconv/package.py b/var/spack/repos/builtin/packages/libiconv/package.py index 1e3d29a4df..bf0ee46b2d 100644 --- a/var/spack/repos/builtin/packages/libiconv/package.py +++ b/var/spack/repos/builtin/packages/libiconv/package.py @@ -40,6 +40,8 @@ class Libiconv(AutotoolsPackage): # of C11 any more and thus might not exist. patch('gets.patch', when='@1.14') + conflicts('@1.14', when='%gcc@5:') + def configure_args(self): args = ['--enable-extra-encodings']