Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
polkit
Manage
Activity
Members
Labels
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Debian Utopia Team
polkit
Commits
79828b6a
Unverified
Commit
79828b6a
authored
6 months ago
by
peelz
Committed by
GitHub
6 months ago
Browse files
Options
Downloads
Patches
Plain Diff
Move -std=c99 to meson default_options (#466)
parent
b17e4de0
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
meson.build
+2
-6
2 additions, 6 deletions
meson.build
with
2 additions
and
6 deletions
meson.build
+
2
−
6
View file @
79828b6a
...
@@ -5,6 +5,7 @@ project(
...
@@ -5,6 +5,7 @@ project(
default_options
:
[
default_options
:
[
'buildtype=debugoptimized'
,
'buildtype=debugoptimized'
,
'prefix=/usr'
,
'prefix=/usr'
,
'c_std=c99'
,
'cpp_std=c++17'
,
'cpp_std=c++17'
,
],
],
meson_version
:
'>= 0.63.0'
,
meson_version
:
'>= 0.63.0'
,
...
@@ -97,12 +98,7 @@ foreach func: check_functions
...
@@ -97,12 +98,7 @@ foreach func: check_functions
endforeach
endforeach
compiler_common_flags
=
[]
compiler_common_flags
=
[]
compiler_c_flags
=
[
compiler_c_flags
=
[]
# FIXME: this should go as 'c_std=c99' in project's default_options.
# https://github.com/mesonbuild/meson/issues/1889
# https://github.com/mesonbuild/meson/pull/6729
'-std=c99'
,
]
compiler_cpp_flags
=
[]
compiler_cpp_flags
=
[]
if
get_option
(
'buildtype'
).
contains
(
'debug'
)
if
get_option
(
'buildtype'
).
contains
(
'debug'
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment