mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-15 08:23:41 +00:00
avr: use compiler-rt
This commit is contained in:
+9
-4
@@ -2,16 +2,21 @@
|
||||
"build-tags": ["avr", "baremetal", "linux", "arm"],
|
||||
"goos": "linux",
|
||||
"goarch": "arm",
|
||||
"compiler": "avr-gcc",
|
||||
"compiler": "clang",
|
||||
"gc": "conservative",
|
||||
"linker": "avr-gcc",
|
||||
"linker": "llvm-build.master/bin/ld.lld",
|
||||
"scheduler": "none",
|
||||
"rtlib": "compiler-rt",
|
||||
"libc": "picolibc",
|
||||
"cflags": [
|
||||
"-gdwarf-4"
|
||||
"--target=avr-atmel-none",
|
||||
"-g",
|
||||
"-Werror",
|
||||
"-Qunused-arguments"
|
||||
],
|
||||
"ldflags": [
|
||||
"-T", "targets/avr.ld",
|
||||
"-Wl,--gc-sections"
|
||||
"--gc-sections"
|
||||
],
|
||||
"extra-files": [
|
||||
"src/runtime/scheduler_avr.S"
|
||||
|
||||
Reference in New Issue
Block a user