freebsd_wlan: Reduce -O0 to ieee80211_scan_sw.o.

This is the only file that seems to be affected by whatever the problem is.

Part of #17458.
This commit is contained in:
Augustin Cavalier 2022-03-02 16:28:59 -05:00
parent 84f45724fc
commit 6acf0b3e21

View File

@ -12,7 +12,7 @@ Includes [ FGristFiles kernel_c++_structs.h ]
: <src!system!kernel>kernel_c++_struct_sizes.h ;
# FIXME: Something in here is broken at even -O1! Slow WiFi is better than no WiFi...
SubDirCcFlags -O0 ;
CCFLAGS on [ FGristFiles ieee80211_scan_sw.o ] = -O0 ;
SubDirCcFlags [ FDefines _KERNEL=1 FBSD_DRIVER=1 ]
-Wno-format -Wno-unused -Wno-uninitialized ;