multimedia/mplayer: enable altivec on compatible CPUs
This commit is contained in:
parent
197afab9d9
commit
4514cc83c6
2 changed files with 5 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
PORTNAME= mplayer
|
||||
PORTVERSION= ${MPLAYER_PORT_VERSION}.${MPLAYER_SNAPSHOT_DATE:S/-//g}
|
||||
PORTREVISION= 4
|
||||
PORTREVISION= 5
|
||||
CATEGORIES= multimedia audio
|
||||
|
||||
MAINTAINER= riggs@FreeBSD.org
|
||||
|
|
|
@ -51,6 +51,10 @@ BUILD_DEPENDS+= as:devel/binutils@native
|
|||
CFLAGS+= -no-integrated-as
|
||||
.endif
|
||||
|
||||
.if defined(MACHINE_CPU) && ${MACHINE_CPU:Maltivec}
|
||||
CONFIGURE_ARGS+= --enable-altivec
|
||||
.endif
|
||||
|
||||
LDFLAGS_i386+= -Wl,-z,notext
|
||||
|
||||
# Extra build options for debugging
|
||||
|
|
Loading…
Reference in a new issue