commit | 38e1bf1f29a4b5309ae775c49d3c7cff2054a88a | [log] [tgz] |
---|---|---|
author | Rihards Skuja <rihardssk@mikrotik.com> | Thu Aug 06 15:07:34 2020 +0300 |
committer | Carles CufĂ <carles.cufi@nordicsemi.no> | Thu Sep 03 21:47:14 2020 +0200 |
tree | e4f459df7287718ba4737725f92b48636d9c16c8 | |
parent | 81c7daea5b1c8c0def72e3561166e03c049e5680 [diff] |
cmake: toolchain: fix unsupported warnings for C++ builds Compile with arm-none-eabi-g++ (10.2.0 with -std=c++17) generates a warning for every C++ source file: "cc1plus: warning: command-line option '-Wno-pointer-sign' is valid for C/ObjC but not for C++" Get rid of those warnings by adding '-Wno-pointer-sign' to the list of excluded CXX options. Signed-off-by: Rihards Skuja <rihardssk@mikrotik.com>