This repository has been archived by the owner on Aug 5, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
jerry.cmake: Disable LTO for JerryScript build
With LTO compiling enabled, and Zephyr SDk 0.10.0, during final Zephyr link (which isn't done with LTO option), for armv7m targets, weird errors are thrown: zephyr-sdk-0.10.0/arm-zephyr-eabi/.../arm-zephyr-eabi/bin/ld: error: zephyr_prebuilt.elf uses VFP register arguments, /tmp/ccTrD4ap.ltrans1.ltrans.o does not Note that both JerryScript and Zephyr seem to be built with correct and consistent target options, which enable VFP usage. Disabling LTO option for JerryScript build fixes this issue. Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
- Loading branch information