Message ID | 20230918131518.56803-12-ajones@ventanamicro.com (mailing list archive) |
---|---|
State | Accepted |
Commit | fc9fdf2c5ab71e27e64b9e14606b677cc2e45884 |
Headers | show |
Series | RISC-V: Enable cbo.zero in usermode | expand |
diff --git a/tools/testing/selftests/riscv/hwprobe/Makefile b/tools/testing/selftests/riscv/hwprobe/Makefile index ebdbb3c22e54..5f614c3ba598 100644 --- a/tools/testing/selftests/riscv/hwprobe/Makefile +++ b/tools/testing/selftests/riscv/hwprobe/Makefile @@ -7,4 +7,4 @@ TEST_GEN_PROGS := hwprobe include ../../lib.mk $(OUTPUT)/hwprobe: hwprobe.c sys_hwprobe.S - $(CC) -o$@ $(CFLAGS) $(LDFLAGS) $^ + $(CC) -static -o$@ $(CFLAGS) $(LDFLAGS) $^