swissChili | 56cf817 | 2022-07-30 18:47:48 -0700 | [diff] [blame] | 1 | # -*- tcl -*- |
2 | |||||
3 | set ::ld "clang --target=riscv32" | ||||
4 | set ::cc "clang --target=riscv32" | ||||
5 | set ::asm "clang --target=riscv32" | ||||
6 | |||||
7 | cflags -mcmodel=medany -march=rv32ima -mabi=ilp32 | ||||
8 | asmflags -nostdlib -c | ||||
9 | ldflags $::cflags |