Skip to content

Commit

Permalink
rtl8812au: Disable CFLAG -Wimplicit-fallthrough
Browse files Browse the repository at this point in the history
  • Loading branch information
th0ma7 committed Mar 30, 2021
1 parent ab426b4 commit ec576da
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions cross/rtl8812au/patches/002-disable-Wimplicit-fallthrough.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--- ../rtl8812au-5.6.4.2.orig/Makefile 2021-03-16 23:44:52.178036688 +0000
+++ Makefile 2021-03-16 23:45:45.542495171 +0000
@@ -5,7 +5,7 @@ EXTRA_CFLAGS += -Wno-unused-variable
EXTRA_CFLAGS += -Wno-unused-label
#EXTRA_CFLAGS += -Wno-unused-parameter
EXTRA_CFLAGS += -Wno-unused-function
-EXTRA_CFLAGS += -Wimplicit-fallthrough=0
+#EXTRA_CFLAGS += -Wimplicit-fallthrough=0
#EXTRA_CFLAGS += -Wno-parentheses-equality
#EXTRA_CFLAGS += -Wno-pointer-bool-conversion
EXTRA_CFLAGS += -Wno-unknown-pragmas

0 comments on commit ec576da

Please sign in to comment.