summaryrefslogtreecommitdiff
path: root/packages-i486-stage1/elfutils
diff options
context:
space:
mode:
Diffstat (limited to 'packages-i486-stage1/elfutils')
-rw-r--r--packages-i486-stage1/elfutils8
1 files changed, 8 insertions, 0 deletions
diff --git a/packages-i486-stage1/elfutils b/packages-i486-stage1/elfutils
new file mode 100644
index 0000000..e747c06
--- /dev/null
+++ b/packages-i486-stage1/elfutils
@@ -0,0 +1,8 @@
+# libelf is needed by iproute2
+SYSROOT_INSTALL=1
+
+# we actually need the libelf subpackage to link to
+ADDITIONAL_INSTALL_PACKAGE=libelf
+
+# prepare configure for cross-compilation
+sed -i "s@./configure@./configure --host=$TARGET_ARCH --build=$BUILD_ARCH@g" PKGBUILD