elfutis: disable deprecation errors with new curl

This commit is contained in:
John 2023-01-15 23:21:31 +01:00
parent f1738d6b9e
commit 78245a9cf8

View file

@ -17,12 +17,13 @@ distfiles="https://sourceware.org/pub/elfutils/${version}/${pkgname}-${version}.
checksum=e70b0dfbe610f90c4d1fe0d71af142a4e25c3c4ef9ebab8d2d72b65159d454c8
# subpackages require explicit ordering
subpackages="debuginfod libdebuginfod libelf elfutils-devel"
CFLAGS="-Wno-error=deprecated-declarations" # curl 7.55+
if [ "$XBPS_TARGET_LIBC" = musl ]; then
makedepends+=" argp-standalone musl-fts-devel musl-obstack-devel"
# mainly warnings from using error.h
CFLAGS="-Wno-error"
CFLAGS+="-Wno-error"
# XXX: breaks some expected functionality
CFLAGS+=" -DFNM_EXTMATCH=0"
# warnings and avoid blowing the stack