[xz] icc does not support attribute __symver__ (#33839)
xz have added attribute __symver__ for compilers that identify as GCC>=10.0 via __GNUC__. Intels `icc` sets __GNUC__ but currently does not support this attribute: https://community.intel.com/t5/Intel-C-Compiler/symver-not-supported/m-p/1429028/emcs_t/S2h8ZW1haWx8dG9waWNfc3Vic2NyaXB0aW9ufExBQVRWMjIyUFFZTlZTfDE0MjkwMjh8U1VCU0NSSVBUSU9OU3xoSw#M40459
This commit is contained in:
parent
cd8ec60ae9
commit
7247a493ab
1 changed files with 4 additions and 0 deletions
|
@ -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")
|
||||
|
||||
|
|
Loading…
Reference in a new issue