zephyr/cmake
Nicholas Lowell 3da90ad21f cmake: use all compile options arguments for uniqueness
zephyr_library_compile_options() was attempting to create
unique hashes for compile options in order to prevent creating
them multiple times.  However, it was only using the first
argument to create the hash, so if multiple libraries had
different compile options but the first line was the same,
the second set would be mistaken for the first set and would
actually be passed the first set during compilation instead
of its own set.

The fix should be to use the entire compile options argument
list to create the hash so they should only match if the entire
options list is exactly the same.

This is a continued fix for #43835

Signed-off-by: Nicholas Lowell <nlowell@lexmark.com>
2022-06-08 12:42:28 +02:00
..
app cmake: function to update Zephyr_DIR when loading old Zephyr packages 2022-03-07 16:35:54 +01:00
bintools cmake: Correct PATHS usage 2022-04-29 08:57:21 +02:00
compiler riscv: Introduce support for RV32E 2022-06-08 18:50:22 +09:00
emu arch: common: dedicated SEMIHOST symbol 2022-04-21 13:04:52 +02:00
flash cmake: support multiple entries in board.cmake 2021-11-12 21:33:42 -05:00
ide
linker LLVM: add built-in lld linker support for x86. 2022-06-05 14:10:25 +02:00
linker_script cmake: Add .tdata and .tbss to generated TLS linker sections 2022-04-28 11:09:01 +09:00
makefile_exports cmake: using zephyr_get_compile_options_for_lang_as_string for export 2020-12-15 08:37:54 -05:00
modules cmake: use all compile options arguments for uniqueness 2022-06-08 12:42:28 +02:00
reports scripts: size_report: Add support for TF-M and BL2 image size reports 2022-03-09 14:03:52 -05:00
toolchain LLVM: add built-in lld linker support for x86. 2022-06-05 14:10:25 +02:00
usage cmake: boards and shields cmake files repurposed 2022-02-22 10:02:39 -08:00
util
cfb.cmake
extra_flags.cmake
gcc-m-cpu.cmake ARC: ARCv3: add HS5x support 2022-05-10 14:12:25 -04:00
gcc-m-fpu.cmake cmake: gcc: target_arm: Support advanced floating-point options 2022-05-05 12:03:27 +09:00
gen_version_h.cmake cmake: Zephyr CMake package and CMake modules 2022-02-22 10:02:39 -08:00
hex.cmake
kobj.cmake cmake: improved handling of output and byproducts in CMake 2021-02-14 18:09:24 -05:00
mcuboot.cmake module: mcuboot: Add config option to support unsigned binary generation 2021-12-18 07:20:38 -05:00
package_helper.cmake cmake: package_helper CMake script 2022-02-23 11:34:22 -08:00
pristine.cmake cmake: pristine.cmake requires SOURCE_DIR and BINARY_DIR as arguments 2021-01-23 08:31:13 -05:00
target_toolchain_flags.cmake everywhere: fix typos 2022-03-14 20:22:24 -04:00