diff options
author | Ludovic Courtès <ludo@gnu.org> | 2022-02-28 22:57:52 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2022-02-28 23:00:46 +0100 |
commit | 24b30130ca75653bdbacea84ce0443608379d630 (patch) | |
tree | c7beb89cc9db37065763d54d5be49b2dfa2be0fc /NEWS | |
parent | 68aeffe8dda02ae3248a9fc035cea73384ee7b6c (diff) | |
download | guile-24b30130ca75653bdbacea84ce0443608379d630.tar.gz |
build: When cross-compiling, get type sizes of the target system.
Fixes <https://issues.guix.gnu.org/54198>.
As noted in the comment at the top, 'SIZEOF_TYPE' must be used instead
of 'sizeof (TYPE)' to support cross-compilation.
The regression was introduced in
5e5afde06fd9dd0992294d6c7dc9f9966c0caa37 but only became apparent with
717e787da6ae75bbaa53139c0ef3791cd758a9d8.
* libguile/gen-scmconfig.c (main): Replace uses of 'sizeof' by
references to the SIZEOF_* macros.
* configure.ac: Add 'AC_CHECK_SIZEOF' call for 'intmax_t'.
Diffstat (limited to 'NEWS')
0 files changed, 0 insertions, 0 deletions