Skip to content
Snippets Groups Projects
Commit 1b96274a authored by Simon McVittie's avatar Simon McVittie
Browse files

Define _GNU_SOURCE via -config.h

parent c4cea444
No related branches found
No related tags found
1 merge request!82Enable and squash compiler warnings
......@@ -148,6 +148,7 @@ foreach flag : no_warning_cxxflags
endforeach
conf_data = configuration_data()
conf_data.set('_GNU_SOURCE', '1')
conf_data.set_quoted('VERSION', meson.project_version())
configure_file(
......@@ -155,7 +156,6 @@ configure_file(
configuration : conf_data,
)
add_project_arguments(['-D_GNU_SOURCE'], language : 'c')
add_project_arguments(
['-include', '_steam-runtime-tools-config.h'],
language : 'c',
......
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