linux-tools: fix build on musl

This commit is contained in:
q66 2019-12-19 17:26:50 +01:00
parent 24d246c388
commit 3fd6f6da37

View file

@ -36,6 +36,8 @@ post_extract() {
sed -i 's/\$(LIBS)/& $(LDFLAGS)/' tools/power/cpupower/bench/Makefile
sed -i 's/SIGCLD/SIGCHLD/g' tools/usb/usbip/src/usbipd.c
sed -i 's/^CFLAGS/override &/g' tools/thermal/tmon/Makefile
sed -i 's/ \-Werror / /g' tools/build/feature/Makefile \
tools/lib/bpf/Makefile
}
do_build() {
cd ${wrksrc}/tools/perf