aboutsummaryrefslogtreecommitdiffstats
path: root/sys/syz-extract/linux.go
diff options
context:
space:
mode:
authorMarco Vanotti <mvanotti@google.com>2019-07-09 15:26:10 -0700
committerDmitry Vyukov <dvyukov@google.com>2019-07-16 16:34:29 +0200
commit6aad7497a8cacce2ec47dbb5e51fc422206e7bca (patch)
treeb0853ef96e42d1b55caba1c921a20c70b079e62f /sys/syz-extract/linux.go
parent75b7c614dd5a954821fff6cdf08939a7f1cd936b (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/linux.go')
-rw-r--r--sys/syz-extract/linux.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/syz-extract/linux.go b/sys/syz-extract/linux.go
index 3ca100b73..c5932e30b 100644
--- a/sys/syz-extract/linux.go
+++ b/sys/syz-extract/linux.go
@@ -147,7 +147,7 @@ unsigned long phys_base;
unsigned long __phys_addr(unsigned long addr) { return 0; }
#endif
`
- res, undeclared, err := extract(info, "gcc", args, addSource, true)
+ res, undeclared, err := extract(info, "gcc", args, addSource, true, false)
if err != nil {
return nil, nil, err
}