diff options
| author | Anton Lindqvist <anton@basename.se> | 2020-03-04 16:44:35 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2020-03-04 18:27:18 +0100 |
| commit | 09d53fbb2784fdef0b7e4cf4dc29f2d774997a7e (patch) | |
| tree | cc760860696f8c8c59b59c6d8a6a2b8fa162da04 /sys | |
| parent | 9ef240be5fd0feed4ba63edfba3cbaa94837d01d (diff) | |
sys/syz-extract: favor clang on OpenBSD
Clang is the default compiler on amd64 which is the only supported
architecture by syzkaller right now.
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/syz-extract/openbsd.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/syz-extract/openbsd.go b/sys/syz-extract/openbsd.go index 37b29bdd7..c67eb5871 100644 --- a/sys/syz-extract/openbsd.go +++ b/sys/syz-extract/openbsd.go @@ -84,7 +84,7 @@ func (*openbsd) processFile(arch *Arch, info *compiler.ConstInfo) (map[string]ui params := &extractParams{ AddSource: "#include <sys/syscall.h>", } - res, undeclared, err := extract(info, "gcc", args, params) + res, undeclared, err := extract(info, "cc", args, params) for orig, compats := range compatNames { for _, compat := range compats { if undeclared[orig] && !undeclared[compat] { |
