From f4bf31dc3ce9d9bd15aa99276c63b2e21e3d9131 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Sat, 9 May 2020 17:36:04 +0200 Subject: sys/syz-extract: use -nostdinc on linux This makes the build completely hermetic. --- pkg/compiler/consts.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pkg/compiler') 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, -- cgit mrf-deployment