zephyr/cmake/compiler/gcc
Peter A. Bigot 60ca2333dc cmake: toolchain: generalize exclusion of CXX options
-Wold-style-definition is not a supported option for C++ builds.  To
prevent it being passed:
* the list of compiler flags to be excluded from C++ builds is moved
  to be toolchain-specific;
* -Wold-style-definition is added to that list for gcc and clang;
* -Wold-style-definition is moved from zephyr_compiler_options to
  zephyr_cc_option so the option checking code is executed for it.

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
2019-12-18 21:45:00 +01:00
..
generic.cmake
target_arm.cmake
target_asm.cmake
target_baremetal.cmake
target_base.cmake
target_coverage.cmake
target_cpp.cmake
target_freestanding.cmake
target_imacros.cmake
target_optimizations.cmake cmake: Add GCC -Og flag fallback to -O0. 2019-12-09 16:17:12 +01:00
target_sanitizers.cmake
target_security_canaries.cmake
target_security_fortify.cmake
target_warnings.cmake cmake: toolchain: generalize exclusion of CXX options 2019-12-18 21:45:00 +01:00
target_x86.cmake cmake: add --divide to GNU assembler options for x86 2019-10-31 09:09:22 +01:00
target.cmake cmake: need to specify m32/m64 for x86_64 toolchain 2019-10-29 06:19:33 +01:00