Revert "bcc: fix build for musl"
This reverts commit 3001489a10
.
The libexecinfo-devel requirement for linking llvm-related things
statically should have been listed in the llvm12 template.
This commit is contained in:
parent
d77534ffae
commit
6bfb3e5c49
|
@ -20,10 +20,6 @@ if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
||||||
makedepends+=" libatomic-devel"
|
makedepends+=" libatomic-devel"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "${XBPS_TARGET_LIBC}" = musl ]; then
|
|
||||||
makedepends+=" libexecinfo-devel"
|
|
||||||
fi
|
|
||||||
|
|
||||||
post_extract() {
|
post_extract() {
|
||||||
sed -i '/tests/d' CMakeLists.txt # break on musl
|
sed -i '/tests/d' CMakeLists.txt # break on musl
|
||||||
sed -i 's/<error.h>/<errno.h>/' examples/cpp/KModRetExample.cc
|
sed -i 's/<error.h>/<errno.h>/' examples/cpp/KModRetExample.cc
|
||||||
|
|
Loading…
Reference in New Issue