Index: share/mk/bsd.cpu.mk =================================================================== --- share/mk/bsd.cpu.mk (revision 205390) +++ share/mk/bsd.cpu.mk (working copy) @@ -53,10 +53,16 @@ CPUTYPE = athlon-mp . elif ${CPUTYPE} == "k7" CPUTYPE = athlon +#XXX: compiling gcc with -march=native causes libc problems +. elif ${CPUTYPE} == "native" +.error CPUTYPE native is not supported. . endif . elif ${MACHINE_ARCH} == "amd64" . if ${CPUTYPE} == "prescott" || ${CPUTYPE} == "core2" CPUTYPE = nocona +#XXX: compiling gcc with -march=native causes libc problems +. elif ${CPUTYPE} == "native" +.error CPUTYPE native is not supported. . endif . endif