sys-kernel/linux-headers: pass xmakeopts to src_test()
authorSergei Trofimovich <slyfox@gentoo.org>
Sat, 30 May 2020 12:09:58 +0000 (13:09 +0100)
committerSergei Trofimovich <slyfox@gentoo.org>
Sat, 30 May 2020 12:19:13 +0000 (13:19 +0100)
xmakeopts populates ARCH= and CROSS_COMPULE for us.
Hopefully sooon it will get CC and HOSTCC as well.

Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
sys-kernel/linux-headers/linux-headers-5.6.ebuild

index af1145d7ef5cd686be8a2248bd79327eed8fc6f2..3c7e3cd2bc0f8d0701f11ff61f66e24ad651207e 100644 (file)
@@ -42,5 +42,5 @@ src_install() {
 }
 
 src_test() {
-       emake ARCH=$(tc-arch-kernel) headers_check
+       emake headers_check ${xmakeopts}
 }