mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
qcacld-3.0: Do not manually re-enable -Wmaybe-uninitialized
Change-Id: I4c76d941bdd27ef5d0967a1385e0107fbb99a91c Signed-off-by: Richard Raya <rdxzv.dev@gmail.com>
This commit is contained in:
parent
2fd3ec3533
commit
c0dd48acea
@ -3328,16 +3328,6 @@ cppflags-$(CONFIG_DUMP_REO_QUEUE_INFO_IN_DDR) += -DDUMP_REO_QUEUE_INFO_IN_DDR
|
||||
|
||||
KBUILD_CPPFLAGS += $(cppflags-y)
|
||||
|
||||
# Currently, for versions of gcc which support it, the kernel Makefile
|
||||
# is disabling the maybe-uninitialized warning. Re-enable it for the
|
||||
# WLAN driver. Note that we must use ccflags-y here so that it
|
||||
# will override the kernel settings.
|
||||
ifeq ($(call cc-option-yn, -Wmaybe-uninitialized), y)
|
||||
ccflags-y += -Wmaybe-uninitialized
|
||||
ifneq (y,$(CONFIG_ARCH_MSM))
|
||||
ccflags-y += -Wframe-larger-than=4096
|
||||
endif
|
||||
endif
|
||||
ccflags-y += -Wmissing-prototypes
|
||||
|
||||
ifeq ($(call cc-option-yn, -Wheader-guard), y)
|
||||
|
Loading…
x
Reference in New Issue
Block a user