aboutsummaryrefslogtreecommitdiff
path: root/arch/riscv/user/hwprobe/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/riscv/user/hwprobe/Makefile')
-rw-r--r--arch/riscv/user/hwprobe/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/riscv/user/hwprobe/Makefile b/arch/riscv/user/hwprobe/Makefile
index 6c47002..67053a8 100644
--- a/arch/riscv/user/hwprobe/Makefile
+++ b/arch/riscv/user/hwprobe/Makefile
@@ -24,7 +24,7 @@ ISA ?= rv64imafdc_zicntr_zicsr_zifencei_zihpm_zca_zcd_zba_zbb
WARNINGS = -Werror -Wpedantic -Wall -Wextra -Wcast-align -Wcast-qual -Winit-self \
-Wmissing-include-dirs -Wredundant-decls -Wshadow -Wsign-conversion \
-Wswitch-default -Wundef -Wunreachable-code -Wmissing-noreturn
-CCFLAGS = $(WARNINGS) -march=$(ISA) -static
+CCFLAGS = $(WARNINGS) -march=$(ISA) -static -I$(LINUX_HEADERS)
LDFLAGS =