Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F115793701
D42569.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
381 B
Referenced Files
None
Subscribers
None
D42569.diff
View Options
diff --git a/share/mk/src.sys.mk b/share/mk/src.sys.mk
--- a/share/mk/src.sys.mk
+++ b/share/mk/src.sys.mk
@@ -38,6 +38,9 @@
# default over to -fno-common, making this redundant.
CFCOMMONFLAG?= -fno-common
CFLAGS+= ${CFCOMMONFLAG}
+.if defined(PACKAGE_BUILDING)
+CFLAGS+= -fmacro-prefix-map=${SRCTOP}=/usr/src -fdebug-prefix-map=${SRCTOP}=/usr/src
+.endif
DEFAULTWARNS= 6
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Apr 29, 6:27 PM (3 h, 17 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17844272
Default Alt Text
D42569.diff (381 B)
Attached To
Mode
D42569: pkgbase: set the prefix of debug files and macros to /usr/src
Attached
Detach File
Event Timeline
Log In to Comment