Index: stand/defs.mk =================================================================== --- stand/defs.mk +++ stand/defs.mk @@ -15,6 +15,12 @@ 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. Move Makefile.inc include earlier 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. +_CPUCFLAGS= .include .include