From cbf4af8f7eade7c5a3bfea6a12c2fae45137953a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Thu, 10 Nov 2022 09:11:38 +0700 Subject: [PATCH] linux-tools: correct the functional detection They're build as part of tools/build. fixdep will be built by HOSTCC anyway. --- srcpkgs/linux-tools/template | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/srcpkgs/linux-tools/template b/srcpkgs/linux-tools/template index 3a921569ee66..8698e4fc73c9 100644 --- a/srcpkgs/linux-tools/template +++ b/srcpkgs/linux-tools/template @@ -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 \