1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00

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)

(cherry picked from commit 905dfe641b)
This commit is contained in:
Aoek 2021-07-18 17:14:44 +02:00 committed by Mikael Urankar
parent 330c751fd7
commit 385516904c

View File

@ -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