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