From d5797cf2b83c66f5aa75285645799aa6953baeaa 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 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/srcpkgs/linux-tools/template b/srcpkgs/linux-tools/template index 3a921569ee66..88ea85b41d7b 100644 --- a/srcpkgs/linux-tools/template +++ b/srcpkgs/linux-tools/template @@ -65,9 +65,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 \