mirror of
https://codeberg.org/kiss-community/repo
synced 2024-12-21 23:00:06 -07:00
23 lines
477 B
Bash
Executable File
23 lines
477 B
Bash
Executable File
#!/bin/sh -e
|
|
|
|
patch -p1 < musl.patch
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--disable-symbol-versioning \
|
|
--disable-debuginfod \
|
|
--disable-libdebuginfod \
|
|
--disable-nls \
|
|
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 DESTDIR="$1" install
|