summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2024-01-24 15:55:33 -0500
committerIonen Wolkens <ionen@gentoo.org>2024-01-24 15:55:39 -0500
commita6e381e5d0a8346a51c591a97a566c4143cc8dda (patch)
treec8510bc18b52f8db89de653942e360fb87ebf798 /x11-drivers/nvidia-drivers
parentx11-drivers/nvidia-drivers: migrate checking for enabled lto, to tc-is-lto (diff)
downloadgentoo-a6e381e5d0a8346a51c591a97a566c4143cc8dda.tar.gz
gentoo-a6e381e5d0a8346a51c591a97a566c4143cc8dda.tar.bz2
gentoo-a6e381e5d0a8346a51c591a97a566c4143cc8dda.zip
x11-drivers/nvidia-drivers: sync tc-is-lto w/ other ebuilds in 0/550
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'x11-drivers/nvidia-drivers')
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-550.40.07.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-550.40.07.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-550.40.07.ebuild
index 3536453083d0..1446f39fa422 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-550.40.07.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-550.40.07.ebuild
@@ -163,7 +163,7 @@ src_compile() {
local xnvflags=-fPIC #840389
# lto static libraries tend to cause problems without fat objects
- is-flagq '-flto@(|=*)' && xnvflags+=" $(test-flags-CC -ffat-lto-objects)"
+ tc-is-lto && xnvflags+=" $(test-flags-CC -ffat-lto-objects)"
NV_ARGS=(
PREFIX="${EPREFIX}"/usr