Date: Wed, 18 Mar 2020 13:53:35 +0000 (UTC) From: Piotr Kubaj <pkubaj@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r528648 - head/multimedia/x264 Message-ID: <202003181353.02IDrZ4K052343@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pkubaj Date: Wed Mar 18 13:53:34 2020 New Revision: 528648 URL: https://svnweb.freebsd.org/changeset/ports/528648 Log: multimedia/x264: fix build on powerpc64 elfv2 Clang has the same problem with x264 that happened with security/nss (workaround in r528305). It takes all available memory due to infinite loop. Switch to GCC for now to fix build. Modified: head/multimedia/x264/Makefile Modified: head/multimedia/x264/Makefile ============================================================================== --- head/multimedia/x264/Makefile Wed Mar 18 13:09:25 2020 (r528647) +++ head/multimedia/x264/Makefile Wed Mar 18 13:53:34 2020 (r528648) @@ -98,6 +98,12 @@ CONFIGURE_ARGS+= --prefix="${PREFIX}" \ --extra-cflags="${CPPFLAGS} ${CFLAGS}" \ --extra-ldflags="${LDFLAGS}" +.include <bsd.port.pre.mk> + +.if ${ARCH} == powerpc64 +USE_GCC= yes +.endif + post-extract-PGO-on: @${BZIP2_CMD} -dc ${DISTDIR}/${DIST_SUBDIR}/${Y4M_VIDEO_DISTFILE} \ >${WRKDIR}/${Y4M_VIDEO} @@ -117,4 +123,4 @@ pre-build: @(${RM} ${WRKSRC}/x264_config.h) .endif -.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?202003181353.02IDrZ4K052343>