zephyr/cmake
Sebastian Bøe c898c156c9 cmake: Fix bug where -Wno- flags could not be compatbility-checked
It turns out that 'check_compiler_flag' has not been working for flags
that start with -Wno-. This has caused old compilers to accidentally
use flags that they do not support.

To fix this we check for compatibility with the appropriate -W flag
instead and infer the -Wno- compatibility from this check.

The root cause of this problem is explained well here:

https://github.com/zephyrproject-rtos/zephyr/pull/18922#discussion_r321537098

Signed-off-by: Sebastian Bøe <sebastian.boe@nordicsemi.no>
2019-09-07 23:32:55 +02:00
..
app Revert "cmake: Error-out when 'project' is invoked too early" 2019-09-07 21:42:55 +02:00
backports
bintools cmake: Toolchain abstraction: Abstraction of binary tool, strip. 2019-08-02 13:05:59 +02:00
compiler arch/x86: remove support for IAMCU ABI 2019-09-07 10:07:42 -04:00
emu arch/x86: remove support for IAMCU ABI 2019-09-07 10:07:42 -04:00
flash
ide
linker/ld target_relocation.cmake: fix spell typo 2019-07-18 11:09:48 -04:00
reports
toolchain arch/x86: remove support for IAMCU ABI 2019-09-07 10:07:42 -04:00
usage
util
boards.cmake
ccache.cmake
cfb.cmake
dts.cmake dts: Add new DTS/binding parser 2019-07-29 16:22:17 -04:00
extensions.cmake cmake: Fix bug where -Wno- flags could not be compatbility-checked 2019-09-07 23:32:55 +02:00
extra_flags.cmake
fpu-for-gcc-m-cpu.cmake
gcc-m-cpu.cmake arch: arm: Add Cortex-R5 support 2019-08-09 22:50:50 +02:00
generic_toolchain.cmake cmake: Toolchain abstraction: Abstraction of binary tools, foundation. 2019-07-31 11:09:35 +02:00
git.cmake
hex.cmake
host-tools.cmake west: require v0.6.0 or higher 2019-08-05 15:17:45 +02:00
kconfig.cmake
kobj.cmake
pristine.cmake
python.cmake cmake: Instruct Python to use UTF-8 on Windows 2019-07-26 12:00:45 +02:00
target_toolchain.cmake cmake: Toolchain abstraction: Abstraction of binary tools, foundation. 2019-07-31 11:09:35 +02:00
version.cmake
zephyr_module.cmake