commit | 4fd7cd5824aeb9a7f538a53f8f24acdca25138e7 | [log] [tgz] |
---|---|---|
author | Alberto Escolar Piedras <alpi@oticon.com> | Wed Nov 20 13:04:06 2019 +0100 |
committer | Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no> | Thu Nov 21 13:08:56 2019 +0100 |
tree | 832dc238b4fc77009dc269984c9f21140ca577aa | |
parent | 052e79ec53d6caa5c792f8ceace009a3a19d737e [diff] |
posix arch: Use zephyr_link_libraries() to set -m32 For some reason, some users have been facing a bizarre issue in which the -m32 option was not being passed to the linker by cmake when building for the POSIX arch as a 32bit target, even though the option was actually supported. Instead of using zephyr_ld_options() which checks if an option is supported and drops it otherwise, use zephyr_link_libraries() Signed-off-by: Alberto Escolar Piedras <alpi@oticon.com>