elfutis: disable deprecation errors with new curl
This commit is contained in:
parent
f1738d6b9e
commit
78245a9cf8
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue