aboutsummaryrefslogtreecommitdiff
path: root/elfutils/abuild
diff options
context:
space:
mode:
authorWoodpecker CI <emmett1.2miligrams@protonmail.com>2025-06-03 14:32:36 +0000
committerWoodpecker CI <emmett1.2miligrams@protonmail.com>2025-06-03 14:32:36 +0000
commit93a354611e38a6949add5c2e5ccc93ef79b9755f (patch)
tree7fee41752b1047d74c59f8ee046cd62735e7e934 /elfutils/abuild
parent35912580b66e9439f91ea441938828ad8aa33b0d (diff)
downloadalicelinux-93a354611e38a6949add5c2e5ccc93ef79b9755f.tar.gz
alicelinux-93a354611e38a6949add5c2e5ccc93ef79b9755f.zip
Woodpecker CI 5171f1fdd74e7137c305450dd69a29fa5be4143f [SKIP CI]
Diffstat (limited to 'elfutils/abuild')
-rw-r--r--elfutils/abuild29
1 files changed, 29 insertions, 0 deletions
diff --git a/elfutils/abuild b/elfutils/abuild
new file mode 100644
index 00000000..404e0ac3
--- /dev/null
+++ b/elfutils/abuild
@@ -0,0 +1,29 @@
+name=elfutils
+version=0.193
+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
+}