diff options
author | Jakov Smolić <jsmolic@gentoo.org> | 2024-08-05 12:46:57 +0200 |
---|---|---|
committer | Jakov Smolić <jsmolic@gentoo.org> | 2024-08-05 12:47:22 +0200 |
commit | 2b17f6b4edc4f3e39bd155cc7e186ede6020659b (patch) | |
tree | 443706f29dc498032fd08525460a3f81f5c3399e /sci-libs/openlibm | |
parent | dev-python/pycares: Keyword 4.4.0 s390, #936574 (diff) | |
download | gentoo-2b17f6b4edc4f3e39bd155cc7e186ede6020659b.tar.gz gentoo-2b17f6b4edc4f3e39bd155cc7e186ede6020659b.tar.bz2 gentoo-2b17f6b4edc4f3e39bd155cc7e186ede6020659b.zip |
sci-libs/openlibm: Respect defined toolchain env variables
Closes: https://bugs.gentoo.org/937349
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
Diffstat (limited to 'sci-libs/openlibm')
-rw-r--r-- | sci-libs/openlibm/openlibm-0.8.3.ebuild | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/sci-libs/openlibm/openlibm-0.8.3.ebuild b/sci-libs/openlibm/openlibm-0.8.3.ebuild index 6eef59be6f71..1751c8a9d1f2 100644 --- a/sci-libs/openlibm/openlibm-0.8.3.ebuild +++ b/sci-libs/openlibm/openlibm-0.8.3.ebuild @@ -27,11 +27,16 @@ src_prepare() { fi } -src_configure() { - tc-export CC CXX FC AR LD +src_compile() { # Build system uses the riscv64 arch variable use riscv && export ARCH=riscv64 - default + + emake \ + CC="$(tc-getCC)" \ + CXX="$(tc-getCXX)" \ + FC="$(tc-getFC)" \ + AR="$(tc-getAR)" \ + LD="$(tc-getLD)" } src_install() { |