aboutsummaryrefslogtreecommitdiffhomepage
path: root/targets/riscv.json
diff options
context:
space:
mode:
authorAyke van Laethem <[email protected]>2019-07-31 20:32:18 +0200
committerRon Evans <[email protected]>2019-08-04 17:12:07 +0200
commit54169c714fb9e9142fed5e7a70897ff466f31d28 (patch)
tree9af262727bddfa1ffd8b330addba429895244a0b /targets/riscv.json
parentf76385850dd0d38585085ecf3fcba2e9e32ad731 (diff)
downloadtinygo-54169c714fb9e9142fed5e7a70897ff466f31d28.tar.gz
tinygo-54169c714fb9e9142fed5e7a70897ff466f31d28.zip
all: use baremetal build tag
This simplifies adding more baremetal targets, like a GameBoy Advance, or baremetal x86 for unikernels.
Diffstat (limited to 'targets/riscv.json')
-rw-r--r--targets/riscv.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/targets/riscv.json b/targets/riscv.json
index 581c5e8ce..33475eb24 100644
--- a/targets/riscv.json
+++ b/targets/riscv.json
@@ -2,7 +2,7 @@
"llvm-target": "riscv32--none",
"goos": "linux",
"goarch": "arm",
- "build-tags": ["tinygo.riscv", "linux", "arm"],
+ "build-tags": ["tinygo.riscv", "baremetal", "linux", "arm"],
"gc": "conservative",
"compiler": "riscv64-unknown-elf-gcc",
"linker": "riscv64-unknown-elf-ld",