elfutils: document conflict with clang (#7096)

This commit is contained in:
Geoffrey Oxberry 2018-03-21 14:00:49 -07:00 committed by Adam J. Stewart
parent 154401de76
commit 6127b02324

View File

@ -50,6 +50,12 @@ class Elfutils(AutotoolsPackage):
provides('elf@1')
# 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.
conflicts('%clang')
def configure_args(self):
# configure doesn't use LIBS correctly
gettext_lib = self.spec['gettext'].prefix.lib,