2
0
mirror of https://github.com/cilynx/rtl88x2bu synced 2025-08-22 10:10:08 +00:00

Disable new warnings

With commit 0fcb70851fbfea1776ae62f67c503fef8f0292b9 in Linux Kernel
two new sanity checks were enabled. These cause build failures, because
somehow there are functions in *.c files that are not declared in *.h
files. (At least, that is my understanding.)

Unfortunately, it is very time consuming task to manually delete all
these functions. Also, it is not yet clear whether this indeed will
resolve the issue or just fail at some point.

In order to be able to follow the Kernel's development, these warnings
are just disabled. This allows to work against the most recent commits
when trying to remove problematic functions.
This commit is contained in:
Max Görner 2024-01-15 10:26:41 +01:00
parent 476ef38727
commit 35a8a4842d

View File

@ -12,6 +12,8 @@ EXTRA_CFLAGS += -Wno-unused-parameter
EXTRA_CFLAGS += -Wno-unused-variable EXTRA_CFLAGS += -Wno-unused-variable
EXTRA_CFLAGS += -Wno-array-bounds EXTRA_CFLAGS += -Wno-array-bounds
EXTRA_CFLAGS += -Wno-address EXTRA_CFLAGS += -Wno-address
EXTRA_CFLAGS += -Wno-missing-prototypes
EXTRA_CFLAGS += -Wno-missing-declarations
GCC_VER_49 := $(shell echo `$(CC) -dumpversion | cut -f1-2 -d.` \>= 4.9 | bc ) GCC_VER_49 := $(shell echo `$(CC) -dumpversion | cut -f1-2 -d.` \>= 4.9 | bc )
ifeq ($(GCC_VER_49),1) ifeq ($(GCC_VER_49),1)