openwrt-mirror/package
Michael Pratt b6f67ca739 gettext-full: force compiling target in C23 standard
Currently, the build system overrides the value of the CC variable
for actual compilation after configuring for target builds.
However, the configure script now modifies the CC variable
to include "-std=gnu23" when the test for C23 features is successful.
The configure script also tests for the ability to use alignof
without including the stdalign.h header, and only includes it if necessary.
The test in the configure script is being done with the C23 standard option
but the compilation is being done without the C23 standard option,
leading to an unusual build error where alignof() is not defined.

Resolving the conflict between the autoconf macros and the build system
causes several other packages to fail, so instead in the meantime,
force the use of C23 standard to compile as part of the new standard
includes alignof as a keyword to deprecate the stdalign.h macro.

Forcing use of the new standard is safe for target builds
as the toolchain is known to support the option
and is always within our scope of version control.

Signed-off-by: Michael Pratt <mcpratt@pm.me>
Link: https://github.com/openwrt/openwrt/pull/19748
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-08-11 22:28:41 +02:00
..
base-files base-files: find_mmc_part: Silence error when no MMC exists 2025-07-27 18:08:44 +02:00
boot uboot-envtools: ramips: add env config for SIM SIMAX1800U 2025-08-07 17:41:54 +02:00
devel strace: update to 6.15 2025-08-07 22:44:21 +02:00
firmware linux-firmware: update to 20250808 2025-08-11 14:56:19 +02:00
kernel mac80211: fix division by zero in expected throughput estimation 2025-08-09 16:48:33 +02:00
libs gettext-full: force compiling target in C23 standard 2025-08-11 22:28:41 +02:00
network bridger: update to Git HEAD (2025-08-10) 2025-08-10 18:49:17 +02:00
system rpcd: update to Git HEAD (2025-08-09) 2025-08-09 15:56:20 +02:00
utils util-linux: add last util 2025-08-01 18:29:37 +02:00
Makefile package: rework contents of package index.json 2025-06-11 16:55:31 +02:00