diff options
author | Eric Engestrom <eric@engestrom.ch> | 2022-08-22 21:03:15 +0100 |
---|---|---|
committer | Marge Bot <emma+marge@anholt.net> | 2022-08-24 22:13:19 +0000 |
commit | c66622de3af4efc3717131c55a54b408bc7faade (patch) | |
tree | dd84ff37bb777e91167ad40caf5077a8761d21a7 /src/tool | |
parent | 76bcf69e33b9452bdbc9c79e64ba4353dd57398a (diff) | |
download | mesa-c66622de3af4efc3717131c55a54b408bc7faade.tar.gz mesa-c66622de3af4efc3717131c55a54b408bc7faade.tar.bz2 mesa-c66622de3af4efc3717131c55a54b408bc7faade.zip |
meson: replace manual compiler flags with meson arguments
These would only have worked in GCC and Clang, which so far wasn't an
issue, but let's clean it up anyway.
Cc: mesa-stable
Signed-off-by: Eric Engestrom <eric@engestrom.ch>
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18190>
Diffstat (limited to 'src/tool')
-rw-r--r-- | src/tool/pps/meson.build | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tool/pps/meson.build b/src/tool/pps/meson.build index e0e0361d6f2..4261fbc4ef5 100644 --- a/src/tool/pps/meson.build +++ b/src/tool/pps/meson.build @@ -21,7 +21,7 @@ lib_pps = static_library( sources: pps_sources, include_directories: [include_pps, inc_src, pps_includes], dependencies: pps_deps, - cpp_args: '-std=c++17' + override_options: ['cpp_std=c++17'], ) dep_pps = declare_dependency( @@ -39,7 +39,7 @@ executable( sources: producer_sources, include_directories: [include_pps, inc_src], dependencies: [dep_pps, dep_perfetto], - cpp_args: '-std=c++17', + override_options: ['cpp_std=c++17'], install: true ) @@ -55,7 +55,7 @@ if dep_docopt.found() sources: config_sources, include_directories: [include_pps, inc_src], dependencies: [dep_pps, dep_docopt], - cpp_args: '-std=c++17', + override_options: ['cpp_std=c++17'], install: true ) endif |