summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2023-08-26 18:48:33 -0400
committerIonen Wolkens <ionen@gentoo.org>2023-08-26 18:49:30 -0400
commit990f190320f767238a0366f7b077c73be526a890 (patch)
tree385cc12e75a39526dea5a70af03d52833882727f /x11-drivers
parentnet-misc/x2goserver: add 4.1.0.6 (diff)
downloadgentoo-990f190320f767238a0366f7b077c73be526a890.tar.gz
gentoo-990f190320f767238a0366f7b077c73be526a890.tar.bz2
gentoo-990f190320f767238a0366f7b077c73be526a890.zip
x11-drivers/nvidia-drivers: filter -fno-plt with kernel-open
If similar issues come up again may opt to trade for strip-flags. Skipping revbump given open+no-plt is a rather rare configuration. Closes: https://bugs.gentoo.org/912949 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'x11-drivers')
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-525.125.06.ebuild1
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-535.104.05.ebuild1
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-535.43.08.ebuild1
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-535.98.ebuild1
4 files changed, 4 insertions, 0 deletions
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-525.125.06.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-525.125.06.ebuild
index e57400c9c187..343e52fa97f9 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-525.125.06.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-525.125.06.ebuild
@@ -188,6 +188,7 @@ src_compile() {
# environment flags are normally unused for modules, but nvidia
# uses it for building the "blob" and it is a bit fragile
+ filter-flags -fno-plt #912949
filter-lto
CC=${KERNEL_CC} CXX=${KERNEL_CXX} strip-unsupported-flags
fi
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-535.104.05.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-535.104.05.ebuild
index 529989e75cc5..c1e9e0e8d907 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-535.104.05.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-535.104.05.ebuild
@@ -191,6 +191,7 @@ src_compile() {
# environment flags are normally unused for modules, but nvidia
# uses it for building the "blob" and it is a bit fragile
+ filter-flags -fno-plt #912949
filter-lto
CC=${KERNEL_CC} CXX=${KERNEL_CXX} strip-unsupported-flags
fi
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-535.43.08.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-535.43.08.ebuild
index c4f1522ec324..6d939ff998b9 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-535.43.08.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-535.43.08.ebuild
@@ -192,6 +192,7 @@ src_compile() {
# environment flags are normally unused for modules, but nvidia
# uses it for building the "blob" and it is a bit fragile
+ filter-flags -fno-plt #912949
filter-lto
CC=${KERNEL_CC} CXX=${KERNEL_CXX} strip-unsupported-flags
fi
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-535.98.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-535.98.ebuild
index d3cfc30685fa..321ff9dc6828 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-535.98.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-535.98.ebuild
@@ -191,6 +191,7 @@ src_compile() {
# environment flags are normally unused for modules, but nvidia
# uses it for building the "blob" and it is a bit fragile
+ filter-flags -fno-plt #912949
filter-lto
CC=${KERNEL_CC} CXX=${KERNEL_CXX} strip-unsupported-flags
fi