qcacld-3.0: Build with -O2

This driver is too bloated

Signed-off-by: Alexander Winkowski <dereference23@outlook.com>
fourteen
Alexander Winkowski 3 years ago committed by Jenna
parent a5154dfa9c
commit 4c7659aa15
  1. 4
      drivers/net/wireless/qualcomm/wcn39xx/qcacld-3.0/Kbuild

@ -2977,7 +2977,9 @@ cppflags-$(CONFIG_WLAN_HANG_EVENT) += -DHIF_BUS_LOG_INFO
cppflags-$(CONFIG_WLAN_HANG_EVENT) += -DDP_SUPPORT_RECOVERY_NOTIFY
#endof dummy flags
ccflags-$(CONFIG_ENABLE_SIZE_OPTIMIZE) += -Os
ifndef CONFIG_CC_OPTIMIZE_FOR_SIZE
ccflags-y += -O2
endif
# DFS component
cppflags-$(CONFIG_WLAN_DFS_STATIC_MEM_ALLOC) += -DWLAN_DFS_STATIC_MEM_ALLOC

Loading…
Cancel
Save