x11-drivers/nvidia-drivers: Fix parallel make
authorJeroen Roovers <jer@gentoo.org>
Thu, 13 Dec 2018 01:23:45 +0000 (02:23 +0100)
committerJeroen Roovers <jer@gentoo.org>
Thu, 13 Dec 2018 01:24:14 +0000 (02:24 +0100)
Fixes: https://bugs.gentoo.org/613578
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
x11-drivers/nvidia-drivers/nvidia-drivers-415.22.ebuild

index c5f037b0ecf4c995b947e4030a77648b021ca87f..44fe6cce4296993785b26d6dfaf38b59767aaaa0 100644 (file)
@@ -208,7 +208,7 @@ src_compile() {
                MAKE="$(get_bmake)" CFLAGS="-Wno-sign-compare" emake CC="$(tc-getCC)" \
                        LD="$(tc-getLD)" LDFLAGS="$(raw-ldflags)" || die
        elif use driver && use kernel_linux; then
-               MAKEOPTS=-j1 linux-mod_src_compile
+               linux-mod_src_compile src="${KERNEL_DIR}" KERNELRELEASE="${KV_FULL}"
        fi
 
        if use tools; then