diff options
author | Dylan Baker <[email protected]> | 2019-01-29 11:25:30 -0800 |
---|---|---|
committer | Dylan Baker <[email protected]> | 2019-01-31 21:42:16 +0000 |
commit | 4052142de7a566db65fb0153b55e085c0df87e3a (patch) | |
tree | b59c502bdae4c379488143016ffe4dfde83272f0 /src | |
parent | 8e49b32f636b7f440bcd5d03b90c3a8c1d0166de (diff) |
meson: remove -std=c++11 from intel/tools
for meson all C++ code is already compiled as C++11, so it's
unnecessary. It's also the wrong way to do this, if we really needed
this the correct way is to set:
```meson
executable(
...
override_options : ['cpp_std=c++11'],
)
```
Which ensures not only that the correct syntax for the current
compiler is used, but also that meson doesn't create arguments like
`-std=c++14 ... -std=c++11`
Reviewed-by: Caio Marcelo de Oliveira Filho <[email protected]>
Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/intel/tools/meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/tools/meson.build b/src/intel/tools/meson.build index 02ebb685531..2ef49ddc17c 100644 --- a/src/intel/tools/meson.build +++ b/src/intel/tools/meson.build @@ -123,7 +123,7 @@ if with_tools.contains('intel-ui') include_directories : [inc_common, inc_intel], link_with : [libintel_common, libintel_compiler, libintel_dev, libmesa_util, libaub], c_args : [c_vis_args, no_override_init_args], - cpp_args : ['-fpermissive', '-std=c++11', '-Wno-parentheses', '-Wno-class-memaccess'], + cpp_args : ['-fpermissive', '-Wno-parentheses', '-Wno-class-memaccess'], install : true ) endif |