summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-390.154.ebuild7
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-470.141.03.ebuild7
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-510.85.02.ebuild7
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-515.49.19.ebuild7
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-515.65.01.ebuild7
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-520.56.06.ebuild7
6 files changed, 24 insertions, 18 deletions
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-390.154.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-390.154.ebuild
index 32072512b1a3..0a21cb2d71b7 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-390.154.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-390.154.ebuild
@@ -251,10 +251,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)."
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-470.141.03.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-470.141.03.ebuild
index f9afe49ec860..804f17a2ff6b 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-470.141.03.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-470.141.03.ebuild
@@ -248,10 +248,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)."
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)."
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-515.49.19.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-515.49.19.ebuild
index ed859a1706a4..acacb2963058 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-515.49.19.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-515.49.19.ebuild
@@ -278,10 +278,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)."
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-515.65.01.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-515.65.01.ebuild
index ad75fd7f6802..2c8cc38f1684 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-515.65.01.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-515.65.01.ebuild
@@ -284,10 +284,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)."
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-520.56.06.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-520.56.06.ebuild
index 2a8c2bddc754..9366df773a86 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-520.56.06.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-520.56.06.ebuild
@@ -278,10 +278,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)."