diff options
author | bouyer <bouyer@pkgsrc.org> | 2014-12-03 15:08:02 +0000 |
---|---|---|
committer | bouyer <bouyer@pkgsrc.org> | 2014-12-03 15:08:02 +0000 |
commit | 3e02835c5e171b6dc409315a366ac7c02deaaf44 (patch) | |
tree | 587b5b4a354a318b496106bbb9494d6f10421c7f /multimedia/mplayer-share | |
parent | fa5f1a3219bdcfac8b3d463d0fd4bb7442461b65 (diff) | |
download | pkgsrc-3e02835c5e171b6dc409315a366ac7c02deaaf44.tar.gz |
Add -mstackrealign -mpreferred-stack-boundary=4 to CFLAGS on i386 for all
gcc 4.x versions. Fix mplayer coredumping on mp4 videos on netbsd-7.
Patch from John D. Baker
Bump PKGREVISION for all affected packages.
Diffstat (limited to 'multimedia/mplayer-share')
-rw-r--r-- | multimedia/mplayer-share/Makefile.cflags | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/multimedia/mplayer-share/Makefile.cflags b/multimedia/mplayer-share/Makefile.cflags index 31482c17bc9..cfc62ffb142 100644 --- a/multimedia/mplayer-share/Makefile.cflags +++ b/multimedia/mplayer-share/Makefile.cflags @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.cflags,v 1.6 2013/06/29 13:35:04 wiz Exp $ +# $NetBSD: Makefile.cflags,v 1.7 2014/12/03 15:08:02 bouyer Exp $ # This must be included after everything else to truly clear ${CFLAGS} # in the non-runtime-cpu-detection case. If ${CFLAGS} is non-empty, the @@ -16,11 +16,11 @@ # alignment flags for builtin ffmpeg # --yasm='' disables asm altogether for gcc < 4.2 -. if !empty(CC_VERSION:Mgcc-4.[2345]*) -CFLAGS+=-mstackrealign -mpreferred-stack-boundary=4 -. elif !empty(CC_VERSION:Mgcc-[123]*) || \ - !empty(CC_VERSION:Mgcc-4.[01]*) +. if !empty(CC_VERSION:Mgcc-[123]*) || \ + !empty(CC_VERSION:Mgcc-4.[01].*) CONFIGURE_ARGS+= --yasm='' +. elif !empty(CC_VERSION:Mgcc-4.*) +CFLAGS+=-mstackrealign -mpreferred-stack-boundary=4 . endif . if !empty(CC_VERSION:Mgcc-4*) |