zephyr/cmake
Marc Herbert e526a2b80a host-gcc: exclude -lgcc to fix -mx32 [qemu_]x86_64 regression
PR #9522 series ending with commit c2c9265b7d ("tests: cmsis: Disable
two cmsis portability tests on x86_64") added -mx32 support for the
x86_64 ARCH and qemu_x86_64. While this was implemented in
"compiler/gcc/target.cmake" as fall back from cross-compilation to the
host compiler, it worked with a direct ZEPHYR_TOOLCHAIN_VARIANT=host
too.

Later, -lgcc was added to "compiler/host-gcc/target.cmake" by PR #12674
to fix the -m32 x86 build. This broke the x86_64 build when using
ZEPHYR_TOOLCHAIN_VARIANT=host because even "multilib" packages usually
don't feature the -mx32 version of libgcc.

Fix this by excluding -lgcc in compiler/host-gcc/target.cmake just like
compiler/gcc/target.cmake always did for x86_64.

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
2019-01-30 22:08:30 -05:00
..
app cmake: dts: move to specifying shield on the command line 2019-01-18 13:20:59 -06:00
backports cmake: Fixed python detection bug 2018-12-21 11:13:03 +01:00
compiler host-gcc: exclude -lgcc to fix -mx32 [qemu_]x86_64 regression 2019-01-30 22:08:30 -05:00
emu sanitycheck: Add Renode cmake configuration 2019-01-14 09:12:07 -05:00
flash cmake: Use west installation directly 2019-01-29 10:15:01 +01:00
ide cmake: Eclipse CDT4 generator amendment 2018-10-17 18:16:55 -04:00
reports
toolchain toolchain: Support multiple versions of the Zephyr SDK 2019-01-24 10:51:14 -06:00
usage host-gcc: exclude -lgcc to fix -mx32 [qemu_]x86_64 regression 2019-01-30 22:08:30 -05:00
util cmake: Whitespace and commentary fixes 2018-12-20 12:23:50 +01:00
ccache.cmake
cfb.cmake subsys: fb: add support for generating CFB font headers at build time 2018-11-28 11:46:00 +01:00
dts.cmake cmake: Rebuild when DTS sources are modified 2019-01-25 03:02:58 -06:00
extensions.cmake cmake: dtc: silence output from check_dtc_flag 2019-01-25 23:14:54 -05: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
generic_toolchain.cmake cmake: Introduce host toolchain for POSIX arch 2019-01-10 14:56:32 -05:00
git.cmake cmake: boilerplate: Move out finding git+python to separate cmake files 2018-12-27 19:24:51 -05:00
hex.cmake
host-tools.cmake cmake: Use west installation directly 2019-01-29 10:15:01 +01:00
kconfig.cmake cmake: Whitespace and commentary fixes 2018-12-20 12:23:50 +01:00
kobj.cmake cmake: Use variables for target names 2019-01-19 07:21:55 -05:00
pristine.cmake
python.cmake cmake: boilerplate: Move out finding git+python to separate cmake files 2018-12-27 19:24:51 -05:00
target_toolchain.cmake cmake: Document CMAKE_SYSTEM_-variables, and add CMAKE_SYSTEM_VERSION 2018-12-20 11:15:20 +01:00
version.cmake cmake: version: Misc. refactorings for readability 2018-10-01 09:16:05 -04:00