mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-04 11:07:46 +00:00
4f932b6e66
This lessens the dependency on binutils (e.g. arm-none-eabi-objcopy).
21 lines
391 B
JSON
21 lines
391 B
JSON
{
|
|
"build-tags": ["tinygo.arm", "js", "wasm"],
|
|
"goos": "js",
|
|
"goarch": "wasm",
|
|
"compiler": "clang-7",
|
|
"gc": "marksweep",
|
|
"linker": "arm-none-eabi-ld",
|
|
"rtlib": "compiler-rt",
|
|
"cflags": [
|
|
"-Oz",
|
|
"-mthumb",
|
|
"-fshort-enums",
|
|
"-fno-exceptions", "-fno-unwind-tables",
|
|
"-ffunction-sections", "-fdata-sections"
|
|
],
|
|
"ldflags": [
|
|
"--gc-sections"
|
|
],
|
|
"gdb": "arm-none-eabi-gdb"
|
|
}
|