diff options
| author | Oliver Sieber <oliver.c.sieber@gmail.com> | 2024-04-22 15:51:05 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2024-04-22 17:50:05 +0000 |
| commit | 49a192dc96ae2a73f5c1b285fc814c53e8d558dc (patch) | |
| tree | 7f6fad59371d2fca53f68761df2c6e2498d49fbd /sys/syz-extract/freebsd.go | |
| parent | a2512d13e4f2fd15272d3d7b6d6b31c4dd75b204 (diff) | |
sys/syz-extract/freebsd.go: add compiler flag DCOMPAT_FREEBSD14 for backwards compatibility
Diffstat (limited to 'sys/syz-extract/freebsd.go')
| -rw-r--r-- | sys/syz-extract/freebsd.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/syz-extract/freebsd.go b/sys/syz-extract/freebsd.go index e809aff68..1bcd9823f 100644 --- a/sys/syz-extract/freebsd.go +++ b/sys/syz-extract/freebsd.go @@ -51,6 +51,7 @@ func (*freebsd) processFile(arch *Arch, info *compiler.ConstInfo) (map[string]ui "-D_KERNEL", "-D__BSD_VISIBLE=1", "-DCOMPAT_FREEBSD13", + "-DCOMPAT_FREEBSD14", "-I", filepath.Join(arch.sourceDir, "sys"), "-I", filepath.Join(arch.sourceDir, "sys", "sys"), "-I", filepath.Join(arch.sourceDir, "sys", "contrib", "ck", "include"), |
