aboutsummaryrefslogtreecommitdiff
path: root/core/libelf/build
diff options
context:
space:
mode:
Diffstat (limited to 'core/libelf/build')
-rwxr-xr-xcore/libelf/build21
1 files changed, 0 insertions, 21 deletions
diff --git a/core/libelf/build b/core/libelf/build
deleted file mode 100755
index 7bade69a..00000000
--- a/core/libelf/build
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/bin/sh -e
-
-# Build sometimes forces -Werror.
-export CFLAGS="$CFLAGS -Wno-error"
-
-# Disable configure error for missing argp.
-sed -i 's/as_fn_error.*libargp/: "/g' configure
-
-# Don't compile two unrelated C files which require argp.
-sed -i 's/color.*printversion../#/g' lib/Makefile.in
-
-./configure \
- --prefix=/usr \
- --disable-symbol-versioning \
- --disable-debuginfod \
- --disable-nls
-
-# Skip the default make target and build only what we need.
-make -C lib
-make -C libelf
-make -C libelf DESTDIR="$1" install