elfutis: disable deprecation errors with new curl
This commit is contained in:
@@ -17,12 +17,13 @@ distfiles="https://sourceware.org/pub/elfutils/${version}/${pkgname}-${version}.
|
|||||||
checksum=e70b0dfbe610f90c4d1fe0d71af142a4e25c3c4ef9ebab8d2d72b65159d454c8
|
checksum=e70b0dfbe610f90c4d1fe0d71af142a4e25c3c4ef9ebab8d2d72b65159d454c8
|
||||||
# subpackages require explicit ordering
|
# subpackages require explicit ordering
|
||||||
subpackages="debuginfod libdebuginfod libelf elfutils-devel"
|
subpackages="debuginfod libdebuginfod libelf elfutils-devel"
|
||||||
|
CFLAGS="-Wno-error=deprecated-declarations" # curl 7.55+
|
||||||
|
|
||||||
if [ "$XBPS_TARGET_LIBC" = musl ]; then
|
if [ "$XBPS_TARGET_LIBC" = musl ]; then
|
||||||
makedepends+=" argp-standalone musl-fts-devel musl-obstack-devel"
|
makedepends+=" argp-standalone musl-fts-devel musl-obstack-devel"
|
||||||
|
|
||||||
# mainly warnings from using error.h
|
# mainly warnings from using error.h
|
||||||
CFLAGS="-Wno-error"
|
CFLAGS+="-Wno-error"
|
||||||
# XXX: breaks some expected functionality
|
# XXX: breaks some expected functionality
|
||||||
CFLAGS+=" -DFNM_EXTMATCH=0"
|
CFLAGS+=" -DFNM_EXTMATCH=0"
|
||||||
# warnings and avoid blowing the stack
|
# warnings and avoid blowing the stack
|
||||||
|
|||||||
Reference in New Issue
Block a user