tinygo/targets/cortex-m.json
Ayke van Laethem 2f2d62cc0c cgo: support builtin #include headers
Add support for header files bundled with the compiler by copying them
into the release tarball.
2019-04-25 12:55:52 +02:00

23 строки
439 Б
JSON

{
"build-tags": ["cortexm", "linux", "arm"],
"goos": "linux",
"goarch": "arm",
"compiler": "clang-8",
"gc": "marksweep",
"linker": "ld.lld",
"rtlib": "compiler-rt",
"cflags": [
"-Oz",
"-mthumb",
"-Werror",
"-fshort-enums",
"-nostdlibinc",
"-Wno-macro-redefined",
"-fno-exceptions", "-fno-unwind-tables",
"-ffunction-sections", "-fdata-sections"
],
"ldflags": [
"--gc-sections"
],
"gdb": "arm-none-eabi-gdb"
}