commit: 7adf35a88a2fca777aa4e199c295ab58842cc5e4 Author: David Seifert <soap <AT> gentoo <DOT> org> AuthorDate: Fri Jun 26 09:54:59 2020 +0000 Commit: David Seifert <soap <AT> gentoo <DOT> org> CommitDate: Fri Jun 26 09:54:59 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7adf35a8
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 <AT> gentoo.org> x11-drivers/nvidia-drivers/nvidia-drivers-390.132-r1.ebuild | 1 + x11-drivers/nvidia-drivers/nvidia-drivers-390.132-r2.ebuild | 1 + x11-drivers/nvidia-drivers/nvidia-drivers-390.138.ebuild | 1 + x11-drivers/nvidia-drivers/nvidia-drivers-430.64-r4.ebuild | 2 +- x11-drivers/nvidia-drivers/nvidia-drivers-435.21-r4.ebuild | 2 +- x11-drivers/nvidia-drivers/nvidia-drivers-440.100.ebuild | 2 +- x11-drivers/nvidia-drivers/nvidia-drivers-440.82-r3.ebuild | 2 +- x11-drivers/nvidia-drivers/nvidia-drivers-450.51.ebuild | 2 +- 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 af9e78389d8..7281442a060 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 8c2e15d88bb..fa5a3a20b57 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 fa5a1fc433d..83551933588 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 e7e60ac326a..487a8e632b5 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 24fc073904b..655ae9ded1b 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 e6cc318cafa..74a74069bf6 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 b098aafca9b..de2d1351e1c 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 260e860f54a..7341c1529ac 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 }