summaryrefslogtreecommitdiff
path: root/x11-drivers/nvidia-drivers/nvidia-drivers-470.223.02.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-01-24 22:45:43 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-01-24 22:45:43 +0000
commit3f6b99c9f74a0a7bfa2e18f0a7bc7057739cc00b (patch)
treee56393aac5dcc184833b4e155d45468003757d48 /x11-drivers/nvidia-drivers/nvidia-drivers-470.223.02.ebuild
parentb0fd0bc5c186e99078ed8d07146e8c14f1089639 (diff)
gentoo auto-resync : 24:01:2024 - 22:45:43
Diffstat (limited to 'x11-drivers/nvidia-drivers/nvidia-drivers-470.223.02.ebuild')
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-470.223.02.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-470.223.02.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-470.223.02.ebuild
index a81c071f8b6d..36142dbc5a6d 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-470.223.02.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-470.223.02.ebuild
@@ -145,7 +145,7 @@ src_prepare() {
}
src_compile() {
- tc-export AR CC CXX LD OBJCOPY OBJDUMP
+ tc-export AR CC CXX LD OBJCOPY OBJDUMP PKG_CONFIG
local -x RAW_LDFLAGS="$(get_abi_LDFLAGS) $(raw-ldflags)" # raw-ldflags.patch
# latest branches has proper fixes, but legacy have more issues and are
@@ -162,7 +162,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