[Bug 240979] multimedia/gstreamer1-libav: remove -mminimal-toc on powerpc64

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Oct 3 19:52:00 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240979

--- Comment #3 from Jan Beich <jbeich at FreeBSD.org> ---
(In reply to Piotr Kubaj from comment #2)
> I suppose USES=compiler:c11 would fix it, but there's already
> USES=compiler:features.

Then replace USES=compiler:features with USES=compiler:c11 because:

# Mk/Uses/compiler.mk
.if ${_COMPILER_ARGS:Mc++*} || ${_COMPILER_ARGS:Mc11}
_COMPILER_ARGS+=        features
.endif

> Since this is non-default option, I suppose we can just leave it as is.

gstreamer1-libav is often non-trivial to unbreak during major ffmpeg updates
(e.g., 3.* -> 4.0), so the option is used as an interim fix. If -mminimal-toc
is still required convert to

# Place after _MAKE_ENV
FFMPEG_CFLAGS_OFF=      ${"${ARCH:Mpowerpc64}":?-mminimal-toc:}

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.


More information about the freebsd-multimedia mailing list