diff options
author | Dimitar Dimitrov <dimitar@dinux.eu> | 2024-05-26 22:32:54 +0300 |
---|---|---|
committer | Chris Packham <judge.packham@gmail.com> | 2024-06-13 15:28:26 +1200 |
commit | 0c615353476c84f680551541b7e4f9453b7ee855 (patch) | |
tree | b3f24ac8d65e202d798a1f2bdcf0827bc0de4d72 /scripts | |
parent | 78980241378010f4983e320df76b5edf58a62ab7 (diff) | |
download | crosstool-ng-0c615353476c84f680551541b7e4f9453b7ee855.tar.gz crosstool-ng-0c615353476c84f680551541b7e4f9453b7ee855.tar.bz2 crosstool-ng-0c615353476c84f680551541b7e4f9453b7ee855.zip |
gettext: Fix cross build for mingw
Cherry-pick the following commit from gnulib:
ctime, localtime, tzset, wcsftime: Fix env access (regr. 2024-02-09).
https://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commit;h=92cdf62b56462b914193c7770440e505a37c2526
This upstream patch fixes the following error:
[ERROR] .../.build/HOST-x86_64-w64-mingw32/pru-elf/src/gettext/gettext-tools/gnulib-lib/localtime.c:66:24: error: initialization of 'char *' from incompatible pointer type 'char **' [-Wincompatible-pointer-types]
[ALL ] 66 | for (char *s = env; *s != NULL; s++)
Crosstool configuration:
build: x86_64-unknown-linux-gnu
host: x86_64-w64-mingw32
target: pru-elf
Signed-off-by: Dimitar Dimitrov <dimitar@dinux.eu>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions