aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAnthony Wang2022-04-13 08:27:39 -0500
committerAnthony Wang2022-04-13 08:27:39 -0500
commitc36a86c64b802e9b90b5166caee6a8e8eddaeb56 (patch)
treeeb58bfa1d060bfb436c64c4610646e684c761ae4 /Makefile
parentccc7d9e2d128055387ea1ca241f562a37e5ea7e0 (diff)
Use -Wno-implicit-fallthrough instead of -Wimplicit-fallthrough=3 to support clang
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d108729..4f34d52 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@ VERSION := 0.2.0
TARGET := $(shell uname -r)
DKMS_ROOT_PATH := /usr/src/zenpower-$(VERSION)
-KBUILD_CFLAGS += -Wimplicit-fallthrough=3
+KBUILD_CFLAGS += -Wno-implicit-fallthrough
KERNEL_MODULES := /lib/modules/$(TARGET)