meson: FreeBSD options
This commit is contained in:
parent
554898e6b3
commit
f754198c5b
1 changed files with 3 additions and 1 deletions
|
@ -21,11 +21,13 @@ add_project_arguments(
|
||||||
'-Wstrict-prototypes',
|
'-Wstrict-prototypes',
|
||||||
'-Wimplicit-fallthrough',
|
'-Wimplicit-fallthrough',
|
||||||
'-Wmissing-prototypes',
|
'-Wmissing-prototypes',
|
||||||
'-Wno-unknown-warning',
|
'-Wno-unknown-warning-option',
|
||||||
|
'-Wno-unused-command-line-argument',
|
||||||
'-Wvla',
|
'-Wvla',
|
||||||
'-Wl,--exclude-libs=ALL',
|
'-Wl,--exclude-libs=ALL',
|
||||||
'-fvisibility=hidden',
|
'-fvisibility=hidden',
|
||||||
'-D_XOPEN_SOURCE=700',
|
'-D_XOPEN_SOURCE=700',
|
||||||
|
'-D__BSD_VISIBLE',
|
||||||
],
|
],
|
||||||
language: 'c',
|
language: 'c',
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue