Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F140142494
D31187.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
723 B
Referenced Files
None
Subscribers
None
D31187.diff
View Options
diff --git a/stand/defs.mk b/stand/defs.mk
--- a/stand/defs.mk
+++ b/stand/defs.mk
@@ -15,6 +15,14 @@
NO_PIC=
INTERNALLIB=
.endif
+# Should be NO_CPU_FLAGS, but bsd.cpu.mk is included too early in bsd.init.mk
+# via the early include of bsd.opts.mk. Moving Makefile.inc include earlier in
+# that file causes weirdness, so this is the next best thing. We need to do this
+# because the loader needs very specific flags to work right, and things like
+# CPUTYPE?=native prevent that, and introduce an endless game of whack-a-mole
+# to disable more and more features. Boot loader performance is never improved
+# enough to make that hassle worth chasing.
+_CPUCFLAGS=
.include <src.opts.mk>
.include <bsd.linker.mk>
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Dec 21, 7:13 PM (9 h, 5 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27119741
Default Alt Text
D31187.diff (723 B)
Attached To
Mode
D31187: loader: make sure CPUTYPE is ignored when building
Attached
Detach File
Event Timeline
Log In to Comment