diff options
Diffstat (limited to 'repos/extra/elfutils/abuild')
| -rw-r--r-- | repos/extra/elfutils/abuild | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/repos/extra/elfutils/abuild b/repos/extra/elfutils/abuild new file mode 100644 index 00000000..c4ae5e47 --- /dev/null +++ b/repos/extra/elfutils/abuild @@ -0,0 +1,29 @@ +name=elfutils +version=0.192 +release=1 +source="https://sourceware.org/ftp/$name/$version/$name-$version.tar.bz2 + musl.patch" + +build() { + # get from KISS + + LDFLAGS="-Wl,--undefined-version $LDFLAGS" \ + ./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 +} |