diff options
Diffstat (limited to 'x11-drivers/nvidia-drivers/nvidia-drivers-510.85.02.ebuild')
-rw-r--r-- | x11-drivers/nvidia-drivers/nvidia-drivers-510.85.02.ebuild | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-510.85.02.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-510.85.02.ebuild index 1dc7eb5fa6b4..d7b34a8de0c4 100644 --- a/x11-drivers/nvidia-drivers/nvidia-drivers-510.85.02.ebuild +++ b/x11-drivers/nvidia-drivers/nvidia-drivers-510.85.02.ebuild @@ -253,10 +253,11 @@ src_compile() { if linux_chkconfig_present GCC_PLUGINS; then mkdir "${T}"/plugin-test || die echo "obj-m += test.o" > "${T}"/plugin-test/Kbuild || die - > "${T}"/plugin-test/test.c || die + :> "${T}"/plugin-test/test.c || die if [[ $(LC_ALL=C make -C "${KV_OUT_DIR}" ARCH="$(tc-arch-kernel)" \ - HOSTCC="$(tc-getBUILD_CC)" M="${T}"/plugin-test 2>&1) \ - =~ "error: incompatible gcc/plugin version" ]]; then + HOSTCC="$(tc-getBUILD_CC)" M="${T}"/plugin-test 2>&1) \ + =~ "error: incompatible gcc/plugin version" ]] + then ewarn "Warning: detected kernel was built with different gcc/plugin versions," ewarn "you may need to 'make clean' and rebuild your kernel with the current" ewarn "gcc version (or re-emerge for distribution kernels, including kernel-bin)." |