diff options
author | maya <maya> | 2016-06-23 11:25:19 +0000 |
---|---|---|
committer | maya <maya> | 2016-06-23 11:25:19 +0000 |
commit | 50c23df06cc82b81de50fec315c0c77261227a45 (patch) | |
tree | 01b23e7b67211a07ddecd673570db25859459191 /multimedia | |
parent | 1deb4238088cd2fd687b041820ec82246f9f3606 (diff) | |
download | pkgsrc-50c23df06cc82b81de50fec315c0c77261227a45.tar.gz |
Use stackrealign on newer GCC as well
PR/51122: with gcc 5.x x86 32-bit ffmpeg2 and ffmpeg3 need extra compile flags
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/ffmpeg2/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/multimedia/ffmpeg2/Makefile b/multimedia/ffmpeg2/Makefile index 33ca7906a0a..5e825fa65ba 100644 --- a/multimedia/ffmpeg2/Makefile +++ b/multimedia/ffmpeg2/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.29 2016/05/05 07:03:47 leot Exp $ +# $NetBSD: Makefile,v 1.30 2016/06/23 11:25:19 maya Exp $ PKGNAME= ${DISTNAME:S/ffmpeg/ffmpeg2/} -PKGREVISION= 1 +PKGREVISION= 2 MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://ffmpeg.mplayerhq.hu/ COMMENT= Decoding, encoding and streaming software (v2.x) @@ -49,7 +49,7 @@ post-install: || !empty(CC_VERSION:Mgcc-4.[01].*) \ || empty(CC_VERSION:Mgcc*) CONFIGURE_ARGS+= --disable-asm -. elif !empty(CC_VERSION:Mgcc-4.*) +. elif !empty(CC_VERSION:Mgcc-[456].*) CFLAGS+= -mstackrealign -mpreferred-stack-boundary=4 . endif .endif |