Date: Fri, 19 Jun 2015 00:12:04 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r390088 - head/math/tomsfastmath Message-ID: <201506190012.t5J0C4LV037985@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Fri Jun 19 00:12:03 2015 New Revision: 390088 URL: https://svnweb.freebsd.org/changeset/ports/390088 Log: - Fix build on i386 MFH: 2015Q2 Modified: head/math/tomsfastmath/Makefile Modified: head/math/tomsfastmath/Makefile ============================================================================== --- head/math/tomsfastmath/Makefile Thu Jun 18 23:31:54 2015 (r390087) +++ head/math/tomsfastmath/Makefile Fri Jun 19 00:12:03 2015 (r390088) @@ -11,13 +11,21 @@ COMMENT= Portable fixed precision math l BROKEN_powerpc= internal compiler error at src/mul/fp_mul_comba_48.c:398 -USES= gmake tar:bzip2 +USES= compiler:features gmake tar:bzip2 WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} MAKEFILE= makefile ALL_TARGET= default PLIST_FILES= include/tfm.h lib/libtfm.a +.include <bsd.port.pre.mk> + +.if ${ARCH} == i386 +# on clang: +# src/mul/fp_mul_comba.c:349:11: error: inline assembly requires more registers than available +USE_GCC= yes +.endif + # Unbreak against Clang ("cc" is not a register) post-patch: @${REINPLACE_CMD} -e 's,"%cc","cc",' \ @@ -25,4 +33,4 @@ post-patch: ${WRKSRC}/src/mul/fp_mul_comba.c \ ${WRKSRC}/src/sqr/fp_sqr_comba.c -.include <bsd.port.mk> +.include <bsd.port.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201506190012.t5J0C4LV037985>