aboutsummaryrefslogtreecommitdiff
path: root/extra/libelf
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2021-07-24 01:35:46 +0300
committerCem Keylan <cem@ckyln.com>2021-07-24 01:35:46 +0300
commitbabf2bd8f81b5042cf8cc0e0ca330cf938451d3a (patch)
treeb4268e4cdb65d29c348b7b0c5645629d7bc2d3d7 /extra/libelf
parenta936d81ed931dee4e4dc2b4e622cbc77f12f6ce2 (diff)
downloadrepository-babf2bd8f81b5042cf8cc0e0ca330cf938451d3a.tar.gz
libelf: use clsed
Diffstat (limited to 'extra/libelf')
-rwxr-xr-xextra/libelf/build8
1 files changed, 4 insertions, 4 deletions
diff --git a/extra/libelf/build b/extra/libelf/build
index 64d0e04d..3e4b1fd7 100755
--- a/extra/libelf/build
+++ b/extra/libelf/build
@@ -4,12 +4,12 @@
export CFLAGS="$CFLAGS -Wno-error"
# 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
+clsed 's/as_fn_error.*argp/: "/g' configure
+clsed 's/as_fn_error.*fts/: "/g' configure
+clsed '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
+clsed 's/color.*printversion../#/g' lib/Makefile.in
./configure \
--prefix=/usr \