diff options
author | Khem Raj <raj.khem@gmail.com> | 2017-08-12 13:13:53 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2017-09-24 11:45:18 -0700 |
commit | a7380dfdb9f7080cb552090f93d089e971558c80 (patch) | |
tree | bf9baf3ae6e54106b3aebdf6c7b608889c139327 /classes/scan-build.bbclass | |
parent | 59773576b7adb3129cf77d19442b5a83937b3c84 (diff) | |
download | meta-clang-a7380dfdb9f7080cb552090f93d089e971558c80.tar.gz |
clang: Switch c++ default to gnu++14 standard
Using cmdline options -std doesnt always work e.g. boost
where it uses c++ driver (clang++) to invoke compilation
but then passes '-x c' to choose the language for compilation
Which ends in errors like below
error: invalid argument '-std=c++14' not allowed with 'C'
Therefore change the defaults in driver itself to use gnu++14
which is default with g++ from gcc7+ too.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'classes/scan-build.bbclass')
0 files changed, 0 insertions, 0 deletions