mirror of
https://github.com/reactos/syzkaller.git
synced 2024-11-23 11:29:46 +00:00
sys/syz-extract: favor clang on OpenBSD
Clang is the default compiler on amd64 which is the only supported architecture by syzkaller right now.
This commit is contained in:
parent
9ef240be5f
commit
09d53fbb27
@ -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] {
|
||||
|
Loading…
Reference in New Issue
Block a user