Index: /usr/src/sys/conf/Makefile.powerpc =================================================================== --- /usr/src/sys/conf/Makefile.powerpc (revision 311147) +++ /usr/src/sys/conf/Makefile.powerpc (working copy) @@ -39,7 +39,11 @@ # Force __SPE__, since the builtin will be removed later with -mno-spe CFLAGS+= -mabi=spe -D__SPE__ .endif +.if ${COMPILER_TYPE} == "gcc" CFLAGS+= -msoft-float -Wa,-many +.else +CFLAGS+= -msoft-float +.endif # Build position-independent kernel CFLAGS+= -fPIC