mirror of
https://github.com/reactos/syzkaller.git
synced 2024-11-24 11:59:58 +00:00
pkg/instance: use -fpermissive -w when building old syzkaller
Since we can be building very old revisions for bisection here, make the build as permissive as possible. Newer compilers tend to produce more warnings also kernel headers may be broken, e.g.: ebtables.h:197:19: error: invalid conversion from ‘void*’ to ‘ebt_entry_target*’ Update #501
This commit is contained in:
parent
03df839448
commit
c693e273b3
@ -69,6 +69,11 @@ func (env *Env) BuildSyzkaller(repo, commit string) error {
|
||||
"TARGETOS="+cfg.TargetOS,
|
||||
"TARGETVMARCH="+cfg.TargetVMArch,
|
||||
"TARGETARCH="+cfg.TargetArch,
|
||||
// Since we can be building very old revisions for bisection here,
|
||||
// make the build as permissive as possible.
|
||||
// Newer compilers tend to produce more warnings also kernel headers may be broken, e.g.:
|
||||
// ebtables.h:197:19: error: invalid conversion from ‘void*’ to ‘ebt_entry_target*’
|
||||
"CFLAGS=-fpermissive -w",
|
||||
)
|
||||
if _, err := osutil.Run(time.Hour, cmd); err != nil {
|
||||
return fmt.Errorf("syzkaller build failed: %v", err)
|
||||
|
Loading…
Reference in New Issue
Block a user