From 239ced844ea434e623686094af3de168f90e4391 Mon Sep 17 00:00:00 2001 From: emmett1 Date: Thu, 13 Jun 2024 00:25:03 +0800 Subject: repos updated --- repos/extra/elfutils/abuild | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 repos/extra/elfutils/abuild (limited to 'repos/extra/elfutils/abuild') diff --git a/repos/extra/elfutils/abuild b/repos/extra/elfutils/abuild new file mode 100644 index 00000000..99cf367f --- /dev/null +++ b/repos/extra/elfutils/abuild @@ -0,0 +1,30 @@ +name=elfutils +version=0.191 +release=1 +source="https://sourceware.org/ftp/$name/$version/$name-$version.tar.bz2 + musl.patch" + +build() { + # get from KISS + # Build sometimes forces -Werror. + export CFLAGS="$CFLAGS -Wno-error" + + sh ./configure \ + --prefix=/usr \ + --disable-symbol-versioning \ + --disable-debuginfod \ + --disable-libdebuginfod \ + --without-zstd \ + ac_cv_c99=yes # Override check for Clang. + + # Utility functions that need argp and fts, not strictly necessary + # for the library to function + :>libdwfl/argp-std.c + :>libdwfl/linux-kernel-modules.c + + # Useless stuff + printf '%s\n' "all:" "install:" > src/Makefile + + make + make install +} -- cgit v1.2.3