Commit 10f1760
committed
newlib: workaround cflags issue in crosstool for newlib-nano
When building newlib-nano because its treated as a companion_libs the
order it gets built ends up not having CT_ARCH_TARGET_CFLAGS set
correctly (as it gets cleared by a previous build stage).
This causes issues on ARM, so to workaround this we mimic the setting
of CT_ARCH_TARGET_CFLAGS in CT_LIBC_NEWLIB_NANO_TARGET_CFLAGS to
"-mthumb-interwork" (That mimics how CT_ARCH_TARGET_CFLAGS is set
because we enable CT_ARCH_ARM_INTERWORKING=y).
Signed-off-by: Kumar Gala <[email protected]>1 parent 1bb31ea commit 10f1760
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
| |||
0 commit comments