summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2022-04-24 02:15:45 -0400
committerIonen Wolkens <ionen@gentoo.org>2022-04-24 02:42:10 -0400
commit9f0bbb0b8ac6d146e6d60af267abcccac7072de5 (patch)
tree4932c0265e68ec6f8149ae9eef10ec61a5e52b4d /x11-drivers
parentdev-python/tomlkit: Bump to 0.10.2 (diff)
downloadgentoo-9f0bbb0b8ac6d146e6d60af267abcccac7072de5.tar.gz
gentoo-9f0bbb0b8ac6d146e6d60af267abcccac7072de5.tar.bz2
gentoo-9f0bbb0b8ac6d146e6d60af267abcccac7072de5.zip
x11-drivers/nvidia-drivers: use -fPIC for libXNVCtrl.a as well
Should revbump but would rather not cause rebuilds over this given this is a no-op unless forced USE=-pie on gcc through profile's package.use.force (clang now also defaults to it). nvidia-drivers already get rebuilt on kernel upgrades which will phase it out for -pie users (please manually rebuild if issues). Legacy 0/390 branch is not affected. Closes: https://bugs.gentoo.org/840389 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'x11-drivers')
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-470.103.01.ebuild1
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-470.62.26.ebuild1
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-510.60.02.ebuild1
3 files changed, 3 insertions, 0 deletions
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-470.103.01.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-470.103.01.ebuild
index 927302a8b1f7..6cf1485d9a3b 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-470.103.01.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-470.103.01.ebuild
@@ -172,6 +172,7 @@ src_compile() {
HOST_LD="$(tc-getBUILD_LD)"
NV_USE_BUNDLED_LIBJANSSON=0
NV_VERBOSE=1 DO_STRIP= MANPAGE_GZIP= OUTPUTDIR=out
+ XNVCTRL_CFLAGS=-fPIC #840389
)
use driver && linux-mod_src_compile
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-470.62.26.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-470.62.26.ebuild
index a04389a83803..cab98353f284 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-470.62.26.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-470.62.26.ebuild
@@ -172,6 +172,7 @@ src_compile() {
HOST_LD="$(tc-getBUILD_LD)"
NV_USE_BUNDLED_LIBJANSSON=0
NV_VERBOSE=1 DO_STRIP= MANPAGE_GZIP= OUTPUTDIR=out
+ XNVCTRL_CFLAGS=-fPIC #840389
)
use driver && linux-mod_src_compile
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-510.60.02.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-510.60.02.ebuild
index 869bb3b67904..e888f6de08a4 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-510.60.02.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-510.60.02.ebuild
@@ -176,6 +176,7 @@ src_compile() {
HOST_LD="$(tc-getBUILD_LD)"
NV_USE_BUNDLED_LIBJANSSON=0
NV_VERBOSE=1 DO_STRIP= MANPAGE_GZIP= OUTPUTDIR=out
+ XNVCTRL_CFLAGS=-fPIC #840389
)
use driver && linux-mod_src_compile