mirror of
https://github.com/flatpak/flatpak.git
synced 2026-03-27 19:33:06 -04:00
Merge branch 'wip/stdc99' into 'master'
build: Use Meson built-in option c_std instead of -std=gnu99 See merge request GNOME/libglnx!28
This commit is contained in:
@@ -1,7 +1,12 @@
|
||||
project('libglnx', 'c')
|
||||
project(
|
||||
'libglnx',
|
||||
'c',
|
||||
default_options : [
|
||||
'c_std=gnu99',
|
||||
],
|
||||
)
|
||||
|
||||
add_project_arguments('-D_GNU_SOURCE', language: 'c')
|
||||
add_project_arguments('-std=gnu99', language: 'c')
|
||||
add_project_arguments('-Wno-unused-local-typedefs', language: 'c')
|
||||
|
||||
cc = meson.get_compiler('c')
|
||||
|
||||
Reference in New Issue
Block a user