mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-16 06:07:00 +02:00
linux-tools: correct the functional detection
They're build as part of tools/build. fixdep will be built by HOSTCC anyway.
This commit is contained in:
parent
ea8a398079
commit
bf7f4562b1
1 changed files with 3 additions and 4 deletions
|
@ -48,7 +48,6 @@ post_extract() {
|
|||
pre_configure() {
|
||||
echo "#define PERF_VERSION \"${version}_${revision}\"" \
|
||||
>tools/perf/PERF-VERSION-FILE
|
||||
vsed -i 's/usbip_bind_driver.8//' tools/usb/usbip/Makefile.am
|
||||
}
|
||||
|
||||
do_build() {
|
||||
|
@ -65,9 +64,9 @@ do_build() {
|
|||
esac
|
||||
|
||||
make -C tools/build V=1 \
|
||||
CC=$CC_FOR_BUILD LD=$LD_FOR_BUILD \
|
||||
CFLAGS="$CFLAGS_FOR_BUILD" EXTRA_CFLAGS="$CFLAGS_FOR_BUILD" \
|
||||
LDFLAGS="$LDFLAGS_FOR_BUILD" \
|
||||
CC=$CC LD=$LD \
|
||||
CFLAGS="$CFLAGS" EXTRA_CFLAGS="$CFLAGS" \
|
||||
LDFLAGS="$LDFLAGS" \
|
||||
WERROR=0 NO_GTK2=1 NO_SDT=1 PYTHON=python3
|
||||
|
||||
make -C tools/perf ${makejobs} V=1 ARCH=$arch \
|
||||
|
|
Loading…
Add table
Reference in a new issue