elfutils: remove conflicts with clang after version 0.186 (#38945)

In late 2021 elfutils was patched to make it build with clang, and these
patches ended up in version 0.186. This commit updates the conflicts to
specify this so elfutils can be built with clang.
This commit is contained in:
Aiden Grossman 2023-07-18 23:28:13 -07:00 committed by GitHub
parent 1f17f44def
commit 90b2e402f5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -89,12 +89,9 @@ class Elfutils(AutotoolsPackage, SourcewarePackage):
# and https://github.com/libarchive/libarchive/issues/1819
conflicts("^libarchive@3.6.2 +iconv", when="+debuginfod")
# Elfutils uses nested functions in C code, which is implemented
# in gcc, but not in clang. C code compiled with gcc is
# binary-compatible with clang, so it should be possible to build
# elfutils with gcc, and then link it to clang-built libraries.
# https://sourceware.org/bugzilla/show_bug.cgi?id=24964
conflicts("%apple-clang")
conflicts("%clang")
conflicts("%clang", when="@:0.185")
conflicts("%cce")
# Elfutils uses -Wall and we don't want to fail the build over a