tinygo/compileopts
Ayke van Laethem af4d0fe191 compileopts: fix reversed append in the target file
With this fix, `cflags` in the target JSON files is correctly ordered.
Previously, the cflags of a parent JSON file would come after the ones
in the child JSON file, which makes it hard to override properties in
the child JSON file.

Specifically, this fixes the case where targets/riscv32.json sets
`-march=rv32imac` and targets/esp32c3.json wants to override this using
`-march=rv32imc` but can't do this because its `-march` comes before the
riscv32.json one.
2021-11-07 09:26:46 +01:00
..
config.go builder: build static binaries using musl on Linux 2021-11-04 17:15:38 +01:00
options.go main: add -p flag to set parallelism 2021-11-04 17:15:38 +01:00
options_test.go compileopts: improve error reporting of unsupported flags 2020-05-16 23:29:47 +02:00
target.go compileopts: fix reversed append in the target file 2021-11-07 09:26:46 +01:00
target_test.go compileopts: fix reversed append in the target file 2021-11-07 09:26:46 +01:00