diff options
| author | Alexander Potapenko <glider@google.com> | 2020-05-14 12:12:53 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2020-05-15 14:08:01 +0200 |
| commit | d7f9fffab3462d2954b61f144f810256ca007e56 (patch) | |
| tree | 4fb94384f6f056fbeaf739369c0f9d2a9a23134a /executor/common_linux.h | |
| parent | 4da021feb0cab54d87d5b08c41bc3160132e5bb7 (diff) | |
targets: syz-extract: add Clang support for Linux builds
Allow targets.go use Clang instead of the default Linux compiler by
setting the SYZ_CLANG=1 env var. Doing so changes the compiler to
"clang" and the linker to "ld.ldd", assuming they are in $PATH, and adds
the --target and -ferror-limit CFLAGS.
Target also exports KernelCompiler and KernelLinker fields now, which allows
overriding the compiler and linker in the kernel make invocation.
Signed-off-by: Alexander Potapenko <glider@google.com>
Diffstat (limited to 'executor/common_linux.h')
0 files changed, 0 insertions, 0 deletions
