Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F147341301
D53591.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
506 B
Referenced Files
None
Subscribers
None
D53591.diff
View Options
diff --git a/sys/modules/iwlwifi/Makefile b/sys/modules/iwlwifi/Makefile
--- a/sys/modules/iwlwifi/Makefile
+++ b/sys/modules/iwlwifi/Makefile
@@ -91,7 +91,7 @@
#CFLAGS+= -DCONFIG_THERMAL=1
#CFLAGS+= -DCONFIG_EFI=1
-# XXX-BZ how to do this just for pcie/drv.c (and gcc vs. clang)?
-CFLAGS += -Wno-override-init -Wno-initializer-overrides
+CWARNFLAGS.clang.drv.c+= -Wno-initializer-overrides
+CWARNFLAGS.drv.c+= -Wno-override-init ${CWARNFLAGS.${COMPILER_TYPE}.${.IMPSRC:T}}
.include <bsd.kmod.mk>
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Mar 11, 3:45 AM (7 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29525686
Default Alt Text
D53591.diff (506 B)
Attached To
Mode
D53591: iwlwifi: fix the gcc build
Attached
Detach File
Event Timeline
Log In to Comment