diff options
author | Jack Rosenthal <jrosenth@chromium.org> | 2021-09-23 12:41:55 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-09-23 21:58:55 +0000 |
commit | 53f99af30ce81bbcffeba30906a68d61fcd5701d (patch) | |
tree | b631da5bec15687d488e87088acbd494f7e7c843 /board | |
parent | 0c7fa10264ca27807e46c2d7ba562fdcf1fc17cc (diff) | |
download | chrome-ec-53f99af30ce81bbcffeba30906a68d61fcd5701d.tar.gz |
zephyr: Bring no_libgcc back to v2.7
no_libgcc support was removed in upstream Zephyr OS, and we still
depend on it to make coreboot-sdk work, as well as to add EC software
panic handling for divide by zero.
This hack emulates how no_libgcc used to function by removing -lgcc
from the linker flags if no_libgcc is set.
BUG=b:198824039
BRANCH=none
TEST=compile volteer with v2.7_rc2
Signed-off-by: Jack Rosenthal <jrosenth@chromium.org>
Change-Id: I9e67277dd9f1f1b0dc36687b5255a99f82117a3b
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3179311
Commit-Queue: Denis Brockus <dbrockus@chromium.org>
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Diffstat (limited to 'board')
0 files changed, 0 insertions, 0 deletions