ltrace: Disable "-Werror". (#17444)

Some functions used by ltrace have been deprecated in recent versions of glibc.
This commit is contained in:
Rémi Lacroix 2020-07-10 05:27:30 +02:00 committed by GitHub
parent 8c6fa66b2a
commit d9923a05e0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,3 +17,8 @@ class Ltrace(AutotoolsPackage):
version('0.7.3', sha256='0e6f8c077471b544c06def7192d983861ad2f8688dd5504beae62f0c5f5b9503') version('0.7.3', sha256='0e6f8c077471b544c06def7192d983861ad2f8688dd5504beae62f0c5f5b9503')
conflicts('platform=darwin', msg='ltrace runs only on Linux.') conflicts('platform=darwin', msg='ltrace runs only on Linux.')
def configure_args(self):
# Disable -Werror since some functions used by ltrace
# have been deprecated in recent version of glibc
return ['--disable-werror']