aboutsummaryrefslogtreecommitdiff
path: root/extra/libelf/build
diff options
context:
space:
mode:
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