diff options
| author | Alistair Delva <[email protected]> | 2022-09-26 20:47:10 +0000 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2022-10-10 18:01:23 -0400 |
| commit | 43b7dcdf343aefa4578532ab97931c4e3b334ad8 (patch) | |
| tree | e11228bdbc3dc450082a15910dd1a5ecb263c4a6 /doc/develop | |
| parent | c4c32e359662aa95d9dbda2bd1272181bd9cb830 (diff) | |
examples: standalone: Fix build with LLVM toolchain
When building the standalone example with llvm, the link step fails:
examples/standalone/libstubs.o: In function `dummy':
include/_exports.h:10: undefined reference to `jt'
include/_exports.h:11: undefined reference to `jt'
include/_exports.h:12: undefined reference to `jt'
include/_exports.h:13: undefined reference to `jt'
include/_exports.h:14: undefined reference to `jt'
examples/standalone/libstubs.o:include/_exports.h:15:
more undefined references to `jt' follow
Indeed, the standalone libstubs.o does use the jt symbol, but it was
marked 'static' in stubs.c. It's strange how gcc builds are working.
Signed-off-by: Alistair Delva <[email protected]>
Cc: Rick Chen <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: Nick Desaulniers <[email protected]>
Diffstat (limited to 'doc/develop')
0 files changed, 0 insertions, 0 deletions
