Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F147933894
D50352.1784836750.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
433 B
Referenced Files
None
Subscribers
None
D50352.1784836750.diff
View Options
Index: Makefile.inc1
===================================================================
--- Makefile.inc1
+++ Makefile.inc1
@@ -372,6 +372,10 @@
.elif ${MK_LLD_BOOTSTRAP} == "yes"
.info SYSTEM_LINKER: libclang will be built for bootstrapping a cross-linker.
.endif
+BUILD_USER!= id -u
+.if ${BUILD_USER} == 0
+.warning Warning: ${.TARGETS} should not be run as root
+.endif
.endif
# End WITH_SYSTEM_COMPILER / WITH_SYSTEM_LD
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jul 23, 7:59 PM (13 h, 56 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29241460
Default Alt Text
D50352.1784836750.diff (433 B)
Attached To
Mode
D50352: build: Emit a warning for build targets run as root
Attached
Detach File
Event Timeline
Log In to Comment