alicelinux

A lightweight musl + clang/llvm + libressl + busybox distro
git clone https://codeberg.org/emmett1/alicelinux
Log | Files | Refs | README | LICENSE

abuild (646B)


      1 name=elfutils
      2 version=0.193
      3 release=1
      4 source="https://sourceware.org/ftp/$name/$version/$name-$version.tar.bz2
      5 	musl.patch"
      6 
      7 build() {
      8 	# get from KISS
      9 
     10 	LDFLAGS="-Wl,--undefined-version $LDFLAGS" \
     11 	./configure \
     12 	    --prefix=/usr \
     13 	    --disable-symbol-versioning \
     14 	    --disable-debuginfod \
     15 	    --disable-libdebuginfod \
     16 	    --without-zstd \
     17 	    ac_cv_c99=yes # Override check for Clang.
     18 	
     19 	# Utility functions that need argp and fts, not strictly necessary
     20 	# for the library to function
     21 	:>libdwfl/argp-std.c
     22 	:>libdwfl/linux-kernel-modules.c
     23 	
     24 	# Useless stuff
     25 	printf '%s\n' "all:" "install:" > src/Makefile
     26 	
     27 	make
     28 	make install
     29 }