aboutsummaryrefslogtreecommitdiff
path: root/extra/libelf/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2021-02-10 03:27:33 +0300
committerCem Keylan <cem@ckyln.com>2021-02-10 03:27:33 +0300
commitc4619d085b47f3949e7b31d2acc5a69cd1e80476 (patch)
tree6861e1258f2fcd0aa723d1cd0b59ceeba85f469e /extra/libelf/build
parentfe7df1b860bd5cb9de086f0abe17d7774f4b6df0 (diff)
downloadrepository-c4619d085b47f3949e7b31d2acc5a69cd1e80476.tar.gz
libelf: bump to 0.183
Diffstat (limited to 'extra/libelf/build')
-rwxr-xr-xextra/libelf/build6
1 files changed, 4 insertions, 2 deletions
diff --git a/extra/libelf/build b/extra/libelf/build
index 7bade69a..64d0e04d 100755
--- a/extra/libelf/build
+++ b/extra/libelf/build
@@ -3,8 +3,10 @@
# Build sometimes forces -Werror.
export CFLAGS="$CFLAGS -Wno-error"
-# Disable configure error for missing argp.
-sed -i 's/as_fn_error.*libargp/: "/g' configure
+# Disable configure error for missing argp, fts, and obstack.
+sed -i -e 's/as_fn_error.*argp/: "/g' \
+ -e 's/as_fn_error.*fts/: "/g' \
+ -e 's/as_fn_error.*obstack/: "/g' configure
# Don't compile two unrelated C files which require argp.
sed -i 's/color.*printversion../#/g' lib/Makefile.in