Date: Tue, 25 Feb 2014 21:29:35 -0800 (PST) From: Don Lewis <truckman@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/187018: [patch] multimedia/gstreamer-ffmpeg fails during configure with clang 3.4 Message-ID: <201402260529.s1Q5TZDH080461@gw.catspoiler.org> In-Reply-To: <201402250540.s1P5e1vp093925@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This is probably a better patch: Index: Makefile =================================================================== --- Makefile (revision 345674) +++ Makefile (working copy) @@ -22,7 +22,7 @@ LIBAV_VERSION= 0.7.7 WRKSRC= ${WRKDIR}/gst-ffmpeg-${PORTVERSION} -USES= gmake pkgconfig +USES= gmake pkgconfig compiler:features USE_LDCONFIG= yes USE_GSTREAMER= yes GNU_CONFIGURE= yes @@ -30,7 +30,6 @@ --enable-runtime-cpudetect \ --enable-pic LDFLAGS+= -Wl,-Bsymbolic -CFLAGS+= -fno-force-addr CONFIGURE_ENV= PKG_CONFIG=${PKG_CONFIG} PLIST_SUB= VERSION="${GST_VERSION}" @@ -67,6 +66,10 @@ .endif +.if ${COMPILER_TYPE} == "gcc" +CFLAGS+= -fno-force-addr +.endif + post-patch: @${MV} ${WRKSRC}/gst-libs/ext/libav ${WRKSRC}/gst-libs/ext/libav.old @${MV} ${WRKDIR}/libav-${LIBAV_VERSION} ${WRKSRC}/gst-libs/ext/libav
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402260529.s1Q5TZDH080461>