Skip to content

Commit 20618e8

Browse files
committed
Use xPack toolchain to build test suite
1 parent 5e53962 commit 20618e8

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

tests/system/alignment/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
PREFIX ?= riscv32-unknown-elf-
1+
PREFIX ?= riscv-none-elf-
22
ARCH = -march=rv32izicsr
33
LINKER_SCRIPT = linker.ld
44

55
DEBUG_CFLAGS = -g
6-
CFLAGS = -c
6+
CFLAGS = -c -march=rv32i_zicsr
77
LDFLAGS = -T
88
EXEC = misalign.elf
99

tests/system/alignment/main.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515

1616
#define TEST_OUTPUT(msg, length) printstr(msg, length)
1717

18-
#define TEST_LOGGER(msg) \
19-
{ \
20-
char _msg[] = msg; \
18+
#define TEST_LOGGER(msg) \
19+
{ \
20+
char _msg[] = msg; \
2121
TEST_OUTPUT(_msg, sizeof(_msg) - 1); \
2222
}
2323

0 commit comments

Comments
 (0)