Skip to content
Snippets Groups Projects
Commit 905dfe64 authored by Aoek's avatar Aoek Committed by Mikael Urankar
Browse files

multimedia/gstreamer1-libav: Fix build on aarch64

Fix build on aarch64 when FFMPEG option is off.
This is similar to the fix in multimedia/ffmpeg: svn port r507608

PR:		256935
Approved by:	portmgr (build fix blanket)
parent eda0db32
No related branches found
No related tags found
No related merge requests found
......@@ -35,6 +35,12 @@ FFMPEG_BUILD_DEPENDS_OFF= nasm:devel/nasm
FFMPEG_MAKE_ENV_OFF= V=1
FFMPEG_VARS_OFF+= NOPRECIOUSMAKEVARS=yes # ARCH
.include <bsd.port.options.mk>
.if empty(PORT_OPTIONS:MFFMPEG)
LDFLAGS_aarch64= -Wl,-z,notext
.endif
post-patch:
@${REINPLACE_CMD} -e 's|-Werror||g' \
${WRKSRC}/configure
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment