diff options
author | sbruno <sbruno@FreeBSD.org> | 2015-01-17 06:34:22 +0800 |
---|---|---|
committer | sbruno <sbruno@FreeBSD.org> | 2015-01-17 06:34:22 +0800 |
commit | 3ded24f17caf2d195ed3c6a0b89b48e0a17b04e3 (patch) | |
tree | df5898af915ac923ec1ba079a265833032f012d9 /multimedia | |
parent | c31bb7fa5fb5ac133313803698c411b954735d16 (diff) | |
download | freebsd-ports-graphics-3ded24f17caf2d195ed3c6a0b89b48e0a17b04e3.tar.gz freebsd-ports-graphics-3ded24f17caf2d195ed3c6a0b89b48e0a17b04e3.tar.zst freebsd-ports-graphics-3ded24f17caf2d195ed3c6a0b89b48e0a17b04e3.zip |
These ports utilize GAS assembly and probably won't ever change. For the ARM
case, do not use -integrated-as.
PR: 196660 196774 196775 196776
Submitted by: mikael.urankar@gmail.com
Approved by: mentor (inplicit)
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/ffmpeg/Makefile | 8 | ||||
-rw-r--r-- | multimedia/gstreamer1-libav/Makefile | 8 | ||||
-rw-r--r-- | multimedia/libav/Makefile | 4 | ||||
-rw-r--r-- | multimedia/mplayer/Makefile | 4 |
4 files changed, 24 insertions, 0 deletions
diff --git a/multimedia/ffmpeg/Makefile b/multimedia/ffmpeg/Makefile index 2798b8be16e..9950606a600 100644 --- a/multimedia/ffmpeg/Makefile +++ b/multimedia/ffmpeg/Makefile @@ -237,6 +237,14 @@ CONFIGURE_ARGS+= --enable-x11grab .include <bsd.port.pre.mk> +.if ${ARCH} == armv6 +CONFIGURE_ENV+= ASFLAGS=-no-integrated-as +.endif + +.if ${ARCH} == "armv6" +CONFIGURE_ENV+= ASFLAGS=-no-integrated-as +.endif + DATADIR= ${PREFIX}/share/${PORTNAME}${PKGNAMESUFFIX} DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX} CONFIGURE_ENV+= COMPILER_PATH=${LOCALBASE}/bin diff --git a/multimedia/gstreamer1-libav/Makefile b/multimedia/gstreamer1-libav/Makefile index acf7020898f..f9e8ce09ba6 100644 --- a/multimedia/gstreamer1-libav/Makefile +++ b/multimedia/gstreamer1-libav/Makefile @@ -30,6 +30,10 @@ INSTALL_TARGET= install-strip .include <bsd.port.pre.mk> +.if ${ARCH} == "armv6" +CONFIGURE_ENV+= ASFLAGS=-no-integrated-as +.endif + .if ${OSVERSION} < 900033 || ${ARCH} == ia64 BUILD_DEPENDS+= ${LOCALBASE}/bin/as:${PORTSDIR}/devel/binutils MAKE_ENV= COMPILER_PATH=${LOCALBASE}/bin @@ -39,6 +43,10 @@ MAKE_ENV= COMPILER_PATH=${LOCALBASE}/bin CFLAGS+= -mstack-alignment=16 -mstackrealign .endif +.if ${ARCH} == armv6 +CONFIGURE_ENV+= ASFLAGS=-no-integrated-as +.endif + post-patch: @${REINPLACE_CMD} 's/[[:<:]]ARCH[[:>:]]/LIBAV_ARCH/' \ ${WRKSRC}/gst-libs/ext/libav/Makefile \ diff --git a/multimedia/libav/Makefile b/multimedia/libav/Makefile index c3a18421352..5dc1423cc3f 100644 --- a/multimedia/libav/Makefile +++ b/multimedia/libav/Makefile @@ -168,6 +168,10 @@ USE_OPENSSL= yes .include <bsd.port.pre.mk> +.if ${ARCH} == "armv6" +CONFIGURE_ENV+= ASFLAGS=-no-integrated-as +.endif + .if ${ARCH} == "i386" CONFIGURE_ARGS+= --extra-cflags=-m32 .endif diff --git a/multimedia/mplayer/Makefile b/multimedia/mplayer/Makefile index b89949dcdc5..63eb0bb44ed 100644 --- a/multimedia/mplayer/Makefile +++ b/multimedia/mplayer/Makefile @@ -60,6 +60,10 @@ CONFIGURE_ARGS+= --disable-arts \ .include "${.CURDIR}/Makefile.options" +.if ${ARCH} == "armv6" +CFLAGS_armv6+= -no-integrated-as +.endif + .if ${PORT_OPTIONS:MGUI} && ${PORT_OPTIONS:MX11} PLIST_SUB+= GMPLAYER="" DESKTOP_ENTRIES= "MPlayer" "High performance media player" "mplayer" "gmplayer" "" false |