diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2021-07-16 15:32:28 +0000 |
|---|---|---|
| committer | Aleksandr Nogikh <wp32pw@gmail.com> | 2021-07-20 13:39:45 +0200 |
| commit | 1b201b48c59d619af21de7fcc5face22824c0285 (patch) | |
| tree | e0e7dec8e2b626a61ce6ef0a9aebf47dad108190 /pkg/build/testdata/linux_compiler_ok | |
| parent | 5a171d724fb4a90890e868348e85c03646cdedab (diff) | |
pkg/build/linux: add compiler detection
Detect compiler that was used to build the Linux kernel from
auto-generated header files. This would be the most precise information.
Diffstat (limited to 'pkg/build/testdata/linux_compiler_ok')
| -rw-r--r-- | pkg/build/testdata/linux_compiler_ok/include/generated/compile.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pkg/build/testdata/linux_compiler_ok/include/generated/compile.h b/pkg/build/testdata/linux_compiler_ok/include/generated/compile.h new file mode 100644 index 000000000..38ab316ce --- /dev/null +++ b/pkg/build/testdata/linux_compiler_ok/include/generated/compile.h @@ -0,0 +1,7 @@ +/* This file is auto generated, version 3 */ +/* SMP PREEMPT */ +#define UTS_MACHINE "x86_64" +#define UTS_VERSION "#3 SMP PREEMPT Tue Jul 6 10:38:03 UTC 2021" +#define LINUX_COMPILE_BY "user" +#define LINUX_COMPILE_HOST "localhost" +#define LINUX_COMPILER "gcc (Debian 10.2.1-6+build2) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2" |
