openwrt/toolchain
Hauke Mehrtens b237266640 fortify-headers: fix -Werror=format-nonliteral in fortify/stdio.h
Some applications might activate -Werror=format-nonliteral when building
their application. This breaks fortify headers build. Tell GCC to ignore
such warnings for this code.

This fixes the libubox and ucode build:
```
/include/fortify/stdio.h: In function 'snprintf':
/include/fortify/stdio.h:101:9: error: format not a string literal, argument types not checked [-Werror=format-nonliteral]
  101 |         return __orig_snprintf(__s, __n, __f, __builtin_va_arg_pack());
      |         ^~~~~~
/include/fortify/stdio.h: In function 'sprintf':
/include/fortify/stdio.h:110:17: error: format not a string literal, argument types not checked [-Werror=format-nonliteral]
  110 |                 __r = __orig_snprintf(__s, __b, __f, __builtin_va_arg_pack());
      |                 ^~~
/include/fortify/stdio.h:114:17: error: format not a string literal, argument types not checked [-Werror=format-nonliteral]
  114 |                 __r = __orig_sprintf(__s, __f, __builtin_va_arg_pack());
      |                 ^~~
cc1: all warnings being treated as errors
ninja: build stopped: subcommand failed.
```

Link: https://github.com/openwrt/openwrt/pull/22042
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2026-02-17 01:29:51 +01:00
..
binutils toolchain: binutils: update to 2.45.1 2025-11-24 09:41:48 +01:00
fortify-headers fortify-headers: fix -Werror=format-nonliteral in fortify/stdio.h 2026-02-17 01:29:51 +01:00
gcc toolchain: gcc: update GCC13 to 13.4 2025-08-20 23:42:15 +02:00
gdb toolchain: gdb: Update to version 16.3 2025-11-08 20:58:30 +01:00
glibc toolchain: glibc: Update glibc 2.41 to recent HEAD 2025-11-30 19:14:52 +01:00
kernel-headers toolchain: assign PKG_CPE_ID 2023-09-19 20:22:59 +02:00
mold toolchain: mold: add PKG_NAME to Makefile 2025-04-23 12:19:26 +02:00
musl toolchain/musl: fix build regression on x86_64 2025-05-06 14:29:09 +02:00
nasm toolchain: nasm: update to 3.01 2025-11-20 21:23:23 +01:00
wrapper toolchain/wrapper: add missing qstrip to info.mk export 2025-06-23 13:30:15 +02:00
build_version toolchain: add a version that can be bumped to force toolchain/target rebuild 2021-11-16 22:02:45 +01:00
Config.in build: conditionally build llvm bpf toolchain by default 2025-02-07 11:16:08 +01:00
info.mk uClibc cleanup: - use full version string (0.9.30.1), instead of base (0.9.30) + extra (.1) - remove support for 0.9.28 and snapshots (building from SVN to be added later) 2009-04-24 02:07:24 +00:00
Makefile build: parsing "git log" breaks with gpg signature verification 2025-09-23 21:49:54 +02:00