aboutsummaryrefslogtreecommitdiffhomepage
path: root/targets/xtensa.json
blob: 893a3eb759ab95d59f68735946f17b2615b6b55a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{
	"llvm-target": "xtensa",
	"goos": "linux",
	"goarch": "arm",
	"build-tags": ["xtensa", "baremetal", "linux", "arm"],
	"gc": "conservative",
	"scheduler": "none",
	"cflags": [
		"-Werror",
		"-fshort-enums",
		"-Wno-macro-redefined",
		"-fno-exceptions", "-fno-unwind-tables", "-fno-asynchronous-unwind-tables",
		"-ffunction-sections", "-fdata-sections"
	],
	"ldflags": [
		"--gc-sections"
	]
}