diff options
| author | Marco Vanotti <mvanotti@google.com> | 2019-07-09 15:26:10 -0700 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2019-07-16 16:34:29 +0200 |
| commit | 6aad7497a8cacce2ec47dbb5e51fc422206e7bca (patch) | |
| tree | b0853ef96e42d1b55caba1c921a20c70b079e62f /sys/syz-extract/netbsd.go | |
| parent | 75b7c614dd5a954821fff6cdf08939a7f1cd936b (diff) | |
sys/syz-extract: Add "DefineGlibcUse" flag.
Instead of defining the __GLIBC_USE macro on every OS, we are just
defining it based on a parameter. That parameter is set to false for all
OSs except for fuchsia.
Diffstat (limited to 'sys/syz-extract/netbsd.go')
| -rw-r--r-- | sys/syz-extract/netbsd.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/syz-extract/netbsd.go b/sys/syz-extract/netbsd.go index 878a63584..0ff12680d 100644 --- a/sys/syz-extract/netbsd.go +++ b/sys/syz-extract/netbsd.go @@ -91,7 +91,7 @@ func (*netbsd) processFile(arch *Arch, info *compiler.ConstInfo) (map[string]uin info.Consts = append(info.Consts, compat) } } - res, undeclared, err := extract(info, "gcc", args, "#include <sys/syscall.h>", false) + res, undeclared, err := extract(info, "gcc", args, "#include <sys/syscall.h>", false, false) for orig, compats := range compatNames { for _, compat := range compats { if undeclared[orig] && !undeclared[compat] { |
