libelf: fix build sometimes forcing -Werror. Closes #211

This commit is contained in:
Dylan Araps 2020-08-01 16:47:54 +03:00
parent 6780ff9bae
commit dd0606a349
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E

View File

@ -2,6 +2,9 @@
patch -p1 < musl-decls.patch
# Build sometimes forces -Werror.
export CFLAGS="$CFLAGS -Wno-error"
# Disable configure error for missing argp.
sed -i 's/as_fn_error.*libargp/: "/g' configure