diff options
author | David Seifert <soap@gentoo.org> | 2020-06-26 11:54:59 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2020-06-26 11:54:59 +0200 |
commit | 7adf35a88a2fca777aa4e199c295ab58842cc5e4 (patch) | |
tree | dba8ceefd8112d6130efda3850e870472d6405d4 /x11-drivers | |
parent | dev-python/traceback2: Add dep on contextlib2 (diff) | |
download | gentoo-7adf35a88a2fca777aa4e199c295ab58842cc5e4.tar.gz gentoo-7adf35a88a2fca777aa4e199c295ab58842cc5e4.tar.bz2 gentoo-7adf35a88a2fca777aa4e199c295ab58842cc5e4.zip |
x11-drivers/nvidia-drivers: Pass OBJCOPY to build system
With USE="-native-symlinks" you get failures:
objcopy --rename-section .data=.rodata,contents,alloc,load,data,readonly antialias.png.o
make: objcopy: No such file or directory
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'x11-drivers')
8 files changed, 8 insertions, 5 deletions
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-390.132-r1.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-390.132-r1.ebuild index af9e78389d81..7281442a0609 100644 --- a/x11-drivers/nvidia-drivers/nvidia-drivers-390.132-r1.ebuild +++ b/x11-drivers/nvidia-drivers/nvidia-drivers-390.132-r1.ebuild @@ -196,6 +196,7 @@ src_compile() { emake -C "${S}"/nvidia-settings-${PV}/src \ CC="$(tc-getCC)" \ + OBJCOPY="$(tc-getOBJCOPY)" \ DO_STRIP= \ GTK3_AVAILABLE=$(usex gtk3 1 0) \ LD="$(tc-getCC)" \ diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-390.132-r2.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-390.132-r2.ebuild index 8c2e15d88bb9..fa5a3a20b57f 100644 --- a/x11-drivers/nvidia-drivers/nvidia-drivers-390.132-r2.ebuild +++ b/x11-drivers/nvidia-drivers/nvidia-drivers-390.132-r2.ebuild @@ -200,6 +200,7 @@ src_compile() { emake -C "${S}"/nvidia-settings-${PV}/src \ CC="$(tc-getCC)" \ + OBJCOPY="$(tc-getOBJCOPY)" \ DO_STRIP= \ GTK3_AVAILABLE=$(usex gtk3 1 0) \ LD="$(tc-getCC)" \ diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-390.138.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-390.138.ebuild index fa5a1fc433dc..835519335881 100644 --- a/x11-drivers/nvidia-drivers/nvidia-drivers-390.138.ebuild +++ b/x11-drivers/nvidia-drivers/nvidia-drivers-390.138.ebuild @@ -200,6 +200,7 @@ src_compile() { emake -C "${S}"/nvidia-settings-${PV}/src \ CC="$(tc-getCC)" \ + OBJCOPY="$(tc-getOBJCOPY)" \ DO_STRIP= \ GTK3_AVAILABLE=$(usex gtk3 1 0) \ LD="$(tc-getCC)" \ diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-430.64-r4.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-430.64-r4.ebuild index e7e60ac326a7..487a8e632b58 100644 --- a/x11-drivers/nvidia-drivers/nvidia-drivers-430.64-r4.ebuild +++ b/x11-drivers/nvidia-drivers/nvidia-drivers-430.64-r4.ebuild @@ -134,7 +134,7 @@ pkg_setup() { } src_configure() { - tc-export AR CC LD + tc-export AR CC LD OBJCOPY default } diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-435.21-r4.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-435.21-r4.ebuild index 24fc073904bb..655ae9ded1b0 100644 --- a/x11-drivers/nvidia-drivers/nvidia-drivers-435.21-r4.ebuild +++ b/x11-drivers/nvidia-drivers/nvidia-drivers-435.21-r4.ebuild @@ -138,7 +138,7 @@ pkg_setup() { } src_configure() { - tc-export AR CC LD + tc-export AR CC LD OBJCOPY default } diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-440.100.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-440.100.ebuild index e6cc318cafaa..74a74069bf64 100644 --- a/x11-drivers/nvidia-drivers/nvidia-drivers-440.100.ebuild +++ b/x11-drivers/nvidia-drivers/nvidia-drivers-440.100.ebuild @@ -141,7 +141,7 @@ pkg_setup() { } src_configure() { - tc-export AR CC LD + tc-export AR CC LD OBJCOPY default } diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-440.82-r3.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-440.82-r3.ebuild index b098aafca9b7..de2d1351e1ca 100644 --- a/x11-drivers/nvidia-drivers/nvidia-drivers-440.82-r3.ebuild +++ b/x11-drivers/nvidia-drivers/nvidia-drivers-440.82-r3.ebuild @@ -141,7 +141,7 @@ pkg_setup() { } src_configure() { - tc-export AR CC LD + tc-export AR CC LD OBJCOPY default } diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-450.51.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-450.51.ebuild index 260e860f54a8..7341c1529acc 100644 --- a/x11-drivers/nvidia-drivers/nvidia-drivers-450.51.ebuild +++ b/x11-drivers/nvidia-drivers/nvidia-drivers-450.51.ebuild @@ -142,7 +142,7 @@ pkg_setup() { } src_configure() { - tc-export AR CC LD + tc-export AR CC LD OBJCOPY default } |