Skip to content

Commit 6634311

Browse files
authored
remove crt0 library from linker command (#2066)
fixing #338 C runtime library linking changed in version LLVM/CLANG 20.1.0 We are accepting that projects using previous version will need to add `-lcrt0` manually to the project when relying on `cdefault.yml` from `$CMSIS_TOOLBOX/etc`
1 parent 44e499f commit 6634311

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

tools/projmgr/templates/cdefault.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ default:
4040
C:
4141
- -std=gnu11
4242
Link:
43-
- -lcrt0
4443
- -Wl,-print-memory-usage
4544
- -Wl,--gc-sections
4645

0 commit comments

Comments
 (0)