Skip to content

Commit

Permalink
SoC: Fix clang_rt.builtins missing for newlib_nano of zcc npk support
Browse files Browse the repository at this point in the history
Signed-off-by: Huaqi Fang <[email protected]>
  • Loading branch information
fanghuaqi committed Jul 4, 2024
1 parent fa6ee0d commit 6694c82
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion SoC/gd32vf103/Common/npk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ buildconfig:
- flags: -u __on_exit_args
condition: $( startswith(${stdclib}, "newlib") )
# for clang, newlib_nano still need to define symbol _printf_float to make link pass
- flags: -lc_nano -u _printf_float
- flags: -lc_nano -lclang_rt.builtins -u _printf_float
condition: $( ${stdclib} == "newlib_nano" )
- flags: -lsemihost
condition: $( ${semihost} == 1 )
2 changes: 1 addition & 1 deletion SoC/gd32vw55x/Common/npk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ buildconfig:
- flags: -u __on_exit_args
condition: $( startswith(${stdclib}, "newlib") )
# for clang, newlib_nano still need to define symbol _printf_float to make link pass
- flags: -lc_nano -u _printf_float
- flags: -lc_nano -lclang_rt.builtins -u _printf_float
condition: $( ${stdclib} == "newlib_nano" )
- flags: -lsemihost
condition: $( ${semihost} == 1 )

0 comments on commit 6694c82

Please sign in to comment.