Use -Wno-implicit-fallthrough instead of -Wimplicit-fallthrough=3 to support clang

This commit is contained in:
Anthony Wang 2022-04-13 08:27:39 -05:00
parent ccc7d9e2d1
commit c36a86c64b
Signed by: a
GPG key ID: BC96B00AEC5F2D76

View file

@ -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)