diff --git a/sys/conf/kern.pre.mk b/sys/conf/kern.pre.mk index 17e96d591019..83afd1ed729e 100644 --- a/sys/conf/kern.pre.mk +++ b/sys/conf/kern.pre.mk @@ -19,10 +19,12 @@ SIZE?= size .if ${CC} == "icc" COPTFLAGS?=-O .else -. if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "sparc64" +. if ${MACHINE_ARCH} == "amd64" COPTFLAGS?=-O2 -frename-registers -pipe . elif ${MACHINE_ARCH} == "ia64" COPTFLAGS?=-O2 -pipe +. elif ${MACHINE_ARCH} == "sparc64" +COPTFLAGS?=-O2 -pipe . else COPTFLAGS?=-O -pipe . endif