--- Makefile (revision 495853) +++ Makefile (working copy) @@ -33,4 +33,11 @@ ${INSTALL_DATA} ${DOCS_FILES:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} @cd ${WRKSRC} && ${COPYTREE_SHARE} doc ${STAGEDIR}${DOCSDIR} -.include +.include + +# on gcc-based architectures, use modern GCC due to use of #pragma +.if ${ARCH} == mips || ${ARCH} == mips64 || ${ARCH} == powerpc || ${ARCH} == powerpc64 || ${ARCH} == powerpcspe || ${ARCH} == sparc64 +USE_GCC= yes +.endif + +.include