aboutsummaryrefslogtreecommitdiff
path: root/repos/extra/elfutils/abuild
blob: b7619b11882a292bc50571d2c3c53ceeeb88c3fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
name=elfutils
version=0.192
release=1
source="https://sourceware.org/ftp/$name/$version/$name-$version.tar.bz2
	musl.patch"

build() {
	# get from KISS
	
	./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
}