Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F81969303
D6001.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
358 B
Referenced Files
None
Subscribers
None
D6001.diff
View Options
Index: sys/conf/kmod.mk
===================================================================
--- sys/conf/kmod.mk
+++ sys/conf/kmod.mk
@@ -91,7 +91,9 @@
WERROR?= -Werror
CFLAGS+= ${WERROR}
CFLAGS+= -D_KERNEL
+.if !defined(KERNBUILDDIR)
CFLAGS+= -DKLD_MODULE
+.endif
# Don't use any standard or source-relative include directories.
NOSTDINC= -nostdinc
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Dec 15, 4:51 AM (21 h, 14 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
9091424
Default Alt Text
D6001.diff (358 B)
Attached To
Mode
D6001: Don't define KLD_MODULE when build module with kernel
Attached
Detach File
Event Timeline
Log In to Comment