diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2020-05-09 17:36:04 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2020-05-11 16:54:44 +0200 |
| commit | f4bf31dc3ce9d9bd15aa99276c63b2e21e3d9131 (patch) | |
| tree | cad187daf2ed9fc30c60e7f40ed287d199fa0e08 /pkg/compiler | |
| parent | b17a8c447430fab3a57c27b0314404b28f241a46 (diff) | |
sys/syz-extract: use -nostdinc on linux
This makes the build completely hermetic.
Diffstat (limited to 'pkg/compiler')
| -rw-r--r-- | pkg/compiler/consts.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/compiler/consts.go b/pkg/compiler/consts.go index 97217adee..7b9c89901 100644 --- a/pkg/compiler/consts.go +++ b/pkg/compiler/consts.go @@ -19,6 +19,7 @@ import ( ) type ConstInfo struct { + File string Consts []string Includes []string Incdirs []string @@ -153,6 +154,7 @@ func convertConstInfo(infos map[string]*constInfo) map[string]*ConstInfo { continue } res[file] = &ConstInfo{ + File: file, Consts: toArray(info.consts), Includes: info.includeArray, Incdirs: info.incdirArray, |
