Use -Wno-implicit-fallthrough instead of -Wimplicit-fallthrough=3 to support clang
This commit is contained in:
parent
ccc7d9e2d1
commit
c36a86c64b
2
Makefile
2
Makefile
|
@ -2,7 +2,7 @@ VERSION := 0.2.0
|
||||||
TARGET := $(shell uname -r)
|
TARGET := $(shell uname -r)
|
||||||
DKMS_ROOT_PATH := /usr/src/zenpower-$(VERSION)
|
DKMS_ROOT_PATH := /usr/src/zenpower-$(VERSION)
|
||||||
|
|
||||||
KBUILD_CFLAGS += -Wimplicit-fallthrough=3
|
KBUILD_CFLAGS += -Wno-implicit-fallthrough
|
||||||
|
|
||||||
KERNEL_MODULES := /lib/modules/$(TARGET)
|
KERNEL_MODULES := /lib/modules/$(TARGET)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue