2019-06-21 09:09:56 -06:00
|
|
|
#!/bin/sh -e
|
|
|
|
|
2021-11-10 21:31:08 -07:00
|
|
|
patch -p1 < musl.patch
|
|
|
|
|
2024-10-19 12:55:43 -06:00
|
|
|
./configure \
|
2020-08-01 04:27:23 -06:00
|
|
|
--prefix=/usr \
|
|
|
|
--disable-symbol-versioning \
|
|
|
|
--disable-debuginfod \
|
2021-07-11 18:38:43 -06:00
|
|
|
--disable-libdebuginfod \
|
2020-10-14 04:25:51 -06:00
|
|
|
--disable-nls \
|
|
|
|
ac_cv_c99=yes # Override check for Clang.
|
2020-05-26 05:17:16 -06:00
|
|
|
|
2023-03-26 05:58:51 -06:00
|
|
|
# Utility functions that need argp and fts, not strictly necessary
|
|
|
|
# for the library to function
|
|
|
|
:>libdwfl/argp-std.c
|
|
|
|
:>libdwfl/linux-kernel-modules.c
|
2020-09-11 15:58:15 -06:00
|
|
|
|
2023-03-26 05:58:51 -06:00
|
|
|
# Useless stuff
|
|
|
|
printf '%s\n' "all:" "install:" > src/Makefile
|
|
|
|
|
|
|
|
make
|
|
|
|
make DESTDIR="$1" install
|