summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--recipes-core/gettext/gettext_%.bbappend9
1 files changed, 9 insertions, 0 deletions
diff --git a/recipes-core/gettext/gettext_%.bbappend b/recipes-core/gettext/gettext_%.bbappend
index 7bb9a4f..96f1dcf 100644
--- a/recipes-core/gettext/gettext_%.bbappend
+++ b/recipes-core/gettext/gettext_%.bbappend
@@ -1,5 +1,14 @@
1EXTRA_OECONF:append:mingw32 = " --enable-static" 1EXTRA_OECONF:append:mingw32 = " --enable-static"
2 2
3# GCC-14 treats this warning as error which results in
4# build failures on gnulib imported code which is dated in
5# gettext
6# ../../../gettext-0.22.5/gettext-tools/gnulib-lib/localtime.c: In function 'rpl_localtime':
7#../../../gettext-0.22.5/gettext-tools/gnulib-lib/localtime.c:66:24: error: initialization of 'char *' from incompatible pointer type 'char **' [-Wincompatible-pointer-types]
8# 66 | for (char *s = env; *s != NULL; s++)
9# | ^~~
10CFLAGS:append:mingw32 = " -Wno-error=incompatible-pointer-types"
11
3FILESEXTRAPATHS:prepend:mingw32 := "${THISDIR}/${BPN}:" 12FILESEXTRAPATHS:prepend:mingw32 := "${THISDIR}/${BPN}:"
4SRC_URI:append:mingw32 = " \ 13SRC_URI:append:mingw32 = " \
5 " 14 "