diff --git a/var/spack/repos/builtin/packages/xz/package.py b/var/spack/repos/builtin/packages/xz/package.py index 1224e0a9f9..5db7713d8c 100644 --- a/var/spack/repos/builtin/packages/xz/package.py +++ b/var/spack/repos/builtin/packages/xz/package.py @@ -39,6 +39,10 @@ class Xz(AutotoolsPackage, SourceforgePackage): description="Build shared libs, static libs or both", ) + # xz-5.2.7/src/liblzma/common/common.h:56 uses attribute __symver__ instead of + # __asm__(.symver) for newer GCC releases. + conflicts("%intel", when="@5.2.7", msg="icc does not support attribute __symver__") + def configure_args(self): return self.enable_or_disable("libs")