Matt Whitlock 26a25bce17 dev-libs/libsecp256k1: fix build when CC is overridden to clang
The libsecp256k1 build system detects compiler flag feature support
using ${CC} but then builds the build-time executables using
${CC_FOR_BUILD}. When CC and CC_FOR_BUILD refer to different brands or
versions of compilers, the feature detection for one will not be
applicable to the other. Previous to this commit, our cross-compilation
support patch attempted to override the flags when building the
build-time executables, but it was doing so in a way that Automake does
not respect. This commit fixes the patch so that Automake will actually
use CFLAGS_FOR_BUILD, CPPFLAGS_FOR_BUILD, and LDFLAGS_FOR_BUILD when
building the build-time executables.

[sam: Add Closes tag for #35652 too.]

Closes: https://bugs.gentoo.org/895048
Signed-off-by: Matt Whitlock <gentoo@mattwhitlock.name>
Closes: https://github.com/gentoo/gentoo/pull/35652
Closes: https://github.com/gentoo/gentoo/pull/35657
Signed-off-by: Sam James <sam@gentoo.org>
2024-03-21 02:36:00 +00:00
2024-03-19 06:52:04 +01:00
2024-03-19 10:23:47 +01:00
2024-03-20 20:30:43 +10:00
2024-03-20 13:50:32 +01:00
2024-03-10 11:25:32 -05:00
2024-03-03 23:31:16 +07:00
2024-03-16 00:58:55 +01:00
2024-03-20 13:50:27 +01:00
2024-03-17 23:36:28 +02:00
2024-03-12 12:49:19 +01:00
2024-03-18 21:00:02 +01:00
2024-03-19 06:52:05 +01:00
2024-03-12 03:30:51 +00:00
2024-03-19 15:52:50 +01:00
2024-03-17 14:21:00 +01:00
2024-03-18 09:01:41 +01:00
2024-03-18 20:59:37 +01:00
2024-03-21 02:17:46 +00:00
2024-03-07 10:51:51 -05:00
2024-03-17 07:46:25 +01:00
2024-03-20 13:50:36 +01:00
2024-03-19 21:09:36 +01:00
2024-03-20 14:26:43 +01:00
S
Description
No description provided
9.8 GiB
Languages
Shell 98%
Roff 1.4%
Emacs Lisp 0.2%
C 0.1%