1 |
commit: 2cdd21f573f85820be43dc8e2ca44730c269dcbe |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jul 29 02:13:01 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jul 29 02:13:25 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2cdd21f5 |
7 |
|
8 |
sci-libs/cdf: fully respect AR, CC |
9 |
|
10 |
We were calling AR directly but also 'gcc' |
11 |
as LD. Let's just use $(tc-getCC) as LD |
12 |
given that's now the recommended way to |
13 |
call the linker, and indeed, we use |
14 |
incompatible arguments for ld anyway. |
15 |
|
16 |
Closes: https://bugs.gentoo.org/725444 |
17 |
Closes: https://bugs.gentoo.org/792990 |
18 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
19 |
|
20 |
sci-libs/cdf/cdf-3.8.0-r1.ebuild | 2 ++ |
21 |
1 file changed, 2 insertions(+) |
22 |
|
23 |
diff --git a/sci-libs/cdf/cdf-3.8.0-r1.ebuild b/sci-libs/cdf/cdf-3.8.0-r1.ebuild |
24 |
index 000c1d62d1a..5d8499adc51 100644 |
25 |
--- a/sci-libs/cdf/cdf-3.8.0-r1.ebuild |
26 |
+++ b/sci-libs/cdf/cdf-3.8.0-r1.ebuild |
27 |
@@ -59,7 +59,9 @@ src_compile() { |
28 |
PV_SO=${PV:0:1} |
29 |
emake \ |
30 |
OS=linux \ |
31 |
+ AR=$(tc-getAR) \ |
32 |
CC=$(tc-getCC) \ |
33 |
+ LD=$(tc-getCC) \ |
34 |
ENV=gnu \ |
35 |
SHARED=yes \ |
36 |
SHAREDEXT_linux=so.${PV_SO} \ |