Skip to content
Snippets Groups Projects
Commit 2dbac987 authored by llyyr's avatar llyyr Committed by Niklas Haas
Browse files

meson: remove _XOPEN_SOURCE=700 flag

This would break build because _XOPEN_SOURCE works differently on
FreeBSD than on Linux, so just remove it since it's not needed.
parent a2f79a4e
No related branches found
No related tags found
1 merge request!599meson: fix build in freebsd
Pipeline #389554 passed with stages
in 10 minutes and 4 seconds
......@@ -388,8 +388,8 @@ cc = meson.get_compiler('c')
cxx = meson.get_compiler('cpp')
c_opts = [
'-D_ISOC99_SOURCE', '-D_ISOC11_SOURCE', '-D_GNU_SOURCE', '-D_XOPEN_SOURCE=700',
'-U__STRICT_ANSI__', '-Wmissing-prototypes',
'-D_ISOC99_SOURCE', '-D_ISOC11_SOURCE', '-D_GNU_SOURCE', '-U__STRICT_ANSI__',
'-Wmissing-prototypes',
# Warnings to ignore
'-Wno-sign-compare', '-Wno-unused-parameter',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment