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.
This commit is contained in:
parent
c5446b8c57
commit
4c91ec13c3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=528648
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user