multimedia/ffmpeg: fix runtime on powerpc64 elfv2 with LTO
ffmpeg crashes instantly when built with LTO by clang on powerpc64.
This commit is contained in:
parent
60a48b1afc
commit
2538022fb4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=545727
1 changed files with 6 additions and 0 deletions
|
@ -630,6 +630,12 @@ DOC_FILES= Changelog CREDITS INSTALL.md LICENSE.md MAINTAINERS \
|
|||
DOC_DOCFILES= APIchanges *.txt
|
||||
PORTDOCS= *
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${ARCH} == powerpc64 && ${PORT_OPTIONS:MLTO}
|
||||
USE_GCC= yes
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
# {C,LD}FLAGS safeness
|
||||
@${REINPLACE_CMD} -E \
|
||||
|
|
Loading…
Reference in a new issue