xref: /linux/include/linux/compiler-version.h (revision 0e0345b7)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #ifdef  __LINUX_COMPILER_VERSION_H
4 #error "Please do not include <linux/compiler-version.h>. This is done by the build system."
5 #endif
6 #define __LINUX_COMPILER_VERSION_H
7 
8 /*
9  * This header exists to force full rebuild when the compiler is upgraded.
10  *
11  * When fixdep scans this, it will find this string "CONFIG_CC_VERSION_TEXT"
12  * and add dependency on include/config/CC_VERSION_TEXT, which is touched
13  * by Kconfig when the version string from the compiler changes.
14  */
15