diff --git a/srcpkgs/elfutils/template b/srcpkgs/elfutils/template index aa4907e7f57..d73de7ed239 100644 --- a/srcpkgs/elfutils/template +++ b/srcpkgs/elfutils/template @@ -13,11 +13,7 @@ homepage="https://sourceware.org/elfutils/" distfiles="https://sourceware.org/${pkgname}/ftp/${version}/${pkgname}-${version}.tar.bz2" checksum=1f844775576b79bdc9f9c717a50058d08620323c1e935458223a12f249c9e066 -# Suppress certain warnings to not fail for -Werror -CFLAGS="-Wno-unused-result -Wno-format-nonliteral" -if [ ${XBPS_GCC_VERSION_MAJOR} -gt 5 ]; then - CFLAGS+=" -Wno-null-dereference" -fi +CFLAGS="-Wno-error" case "$XBPS_TARGET_MACHINE" in *-musl) makedepends+=" argp-standalone musl-fts-devel musl-obstack" ;;