zephyr/cmake
Sebastian Bøe 19845a7489 cmake: Don't use the environment variable CFLAGS
Some distros set the environment variable CFLAGS, this will
accidentally affect Zephyr builds.

To fix this we clear the environment variable from within the Zephyr
build system for the duration of the CMake execution.

Until now we have been instructing the user to clear it, but it is
easier for the user if we clear it for him.

The same applies to CXXFLAGS.

Signed-off-by: Sebastian Bøe <sebastian.boe@nordicsemi.no>
2018-09-05 18:40:32 -04:00
..
app cmake: change policy CMP0000 to NEW 2018-08-15 04:06:50 -07:00
compiler cmake: Improve the error message when the compiler is not executable 2018-07-31 12:40:37 -04:00
emu qemu: support alternate path of qemu binaries 2018-08-22 15:44:53 -07:00
flash scripts: west: introduce common runner configuration 2018-05-19 07:01:39 +03:00
reports
toolchain build: Replace GCC ARM Embedded with GNU Arm Embedded 2018-08-09 13:57:55 +02:00
usage kconfig: Remove targets specific to the C implementation 2018-05-07 21:53:37 +02:00
util cmake: Rename process.cmake to reflect contents 2018-07-12 23:11:46 -04:00
ccache.cmake
dts.cmake dts: bindings: scan application dir for bindings 2018-08-27 12:50:13 -04:00
extensions.cmake cmake: Don't propagate zephyr_library_compile_options 2018-08-13 18:43:53 -07:00
extra_flags.cmake
fpu-for-gcc-m-cpu.cmake cmake: indicate single precision floating-point for Cortex-M33 2018-02-23 21:42:22 -06:00
gcc-m-cpu.cmake arch: arm: update compile options for DSP 2018-07-03 12:17:13 -05:00
hex.cmake
host-tools-zephyr.cmake toolchain: require Zephyr SDK 0.9.3 2018-07-08 15:39:35 -04:00
host-tools.cmake build: Replace GCC ARM Embedded with GNU Arm Embedded 2018-08-09 13:57:55 +02:00
kconfig.cmake cmake: kconfig: Fix broken menuconfig due to misspelling 2018-08-03 18:41:43 +02:00
kobj.cmake userspace: generate list of kernel object sizes 2018-05-16 17:32:59 -07:00
pristine.cmake
toolchain.cmake cmake: Don't use the environment variable CFLAGS 2018-09-05 18:40:32 -04:00
version.cmake