]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
tools/nolibc: add compiler version detection macros
authorThomas Weißschuh <linux@weissschuh.net>
Sat, 20 Dec 2025 13:55:56 +0000 (14:55 +0100)
committerThomas Weißschuh <linux@weissschuh.net>
Tue, 6 Jan 2026 11:08:07 +0000 (12:08 +0100)
commitdd6659efe0529e7177e9270a0fc044a0b17deb8a
treeecd5a6153579a7db935ca80a0c5c3310ba70021e
parent6c9be90527207f9beca78e698dd45969813f4c0e
tools/nolibc: add compiler version detection macros

Some upcoming logic needs to depend on the version of GCC or clang.

Add some helper macros to keep the conditionals readable.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Acked-by: Willy Tarreau <w@1wt.eu>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Link: https://patch.msgid.link/20251220-nolibc-uapi-types-v3-12-c662992f75d7@weissschuh.net
tools/include/nolibc/compiler.h