mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-15 00:13:43 +00:00
all: compile and link using clang, where possible
This commit is contained in:
+12
-1
@@ -1,7 +1,18 @@
|
||||
{
|
||||
"build-tags": ["tinygo.arm", "js", "wasm"],
|
||||
"linker": "arm-none-eabi-gcc",
|
||||
"compiler": "clang-7",
|
||||
"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"
|
||||
],
|
||||
"objcopy": "arm-none-eabi-objcopy",
|
||||
"gdb": "arm-none-eabi-gdb"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user