diff options
author | Jeroen Roovers <jer@gentoo.org> | 2018-12-25 15:00:36 +0100 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2018-12-25 15:03:31 +0100 |
commit | 1a410b8ebbd51b3224de532922316e8a832b07f8 (patch) | |
tree | ac2a432dd68dffe856aaf21d5541c5fd530ad3ff /x11-drivers/nvidia-drivers/nvidia-drivers-390.87.ebuild | |
parent | dev-python/nbsphinx: version bump. (diff) | |
download | gentoo-1a410b8ebbd51b3224de532922316e8a832b07f8.tar.gz gentoo-1a410b8ebbd51b3224de532922316e8a832b07f8.tar.bz2 gentoo-1a410b8ebbd51b3224de532922316e8a832b07f8.zip |
x11-drivers/nvidia-drivers: Work around make bug
When calling `make -j(2+) clean module', sometimes the `module' target is
built before the `clean' target is built. Work around this by setting
BUILT_TARGET=module so that the `clean' target is never built.
Bug: https://bugs.gentoo.org/613578
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'x11-drivers/nvidia-drivers/nvidia-drivers-390.87.ebuild')
-rw-r--r-- | x11-drivers/nvidia-drivers/nvidia-drivers-390.87.ebuild | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-390.87.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-390.87.ebuild index 43e4ba380264..90b232bbe062 100644 --- a/x11-drivers/nvidia-drivers/nvidia-drivers-390.87.ebuild +++ b/x11-drivers/nvidia-drivers/nvidia-drivers-390.87.ebuild @@ -215,7 +215,9 @@ 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 - linux-mod_src_compile src="${KERNEL_DIR}" KERNELRELEASE="${KV_FULL}" + BUILD_TARGETS=module linux-mod_src_compile \ + KERNELRELEASE="${KV_FULL}" \ + src="${KERNEL_DIR}" fi if use tools; then |