summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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