diff options
| author | Thomas Weißschuh <thomas.weissschuh@linutronix.de> | 2025-08-14 12:14:46 +0200 |
|---|---|---|
| committer | Nathan Chancellor <nathan@kernel.org> | 2025-08-18 10:02:57 -0700 |
| commit | 27758d8c2583d10472b745a43ff86fef96c11ef7 (patch) | |
| tree | 50876177973af40cd288d16a4c34428e7d91fde3 /rust/helpers/helpers.c | |
| parent | kbuild: respect CONFIG_WERROR for userprogs (diff) | |
| download | linux-27758d8c2583d10472b745a43ff86fef96c11ef7.tar.gz linux-27758d8c2583d10472b745a43ff86fef96c11ef7.zip | |
kbuild: enable -Werror for hostprogs
The hostprog compilers and linkers do not share the regular compiler flags,
so they are not affected by CONFIG_WERROR or W=e. As hostprogs are used
during the bootstrap of the build, they can't depend on kconfig options.
Enable -Werror unconditionally.
Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Link: https://lore.kernel.org/rust-for-linux/CANiq72k-PdSH2BNgbq=X+FhpyEErifSCKfO5ObXz6bu9_J8+fA@mail.gmail.com/
Link: https://lore.kernel.org/r/20250814-kbuild-werror-v2-6-c01e596309d2@linutronix.de
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions
