OSDN Git Service

meson: remove -std=c++11 from intel/tools
authorDylan Baker <dylan@pnwbakers.com>
Tue, 29 Jan 2019 19:25:30 +0000 (11:25 -0800)
committerDylan Baker <dylan@pnwbakers.com>
Thu, 31 Jan 2019 21:42:16 +0000 (21:42 +0000)
commit4052142de7a566db65fb0153b55e085c0df87e3a
treeb59c502bdae4c379488143016ffe4dfde83272f0
parent8e49b32f636b7f440bcd5d03b90c3a8c1d0166de
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 <caio.oliveira@intel.com>
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
src/intel/tools/meson.build