mplayer: fix the runtime on powerpc G3s
Brad sent me a diff to rearrange CONFIGURE_ARGS for powerpc. Runtime testing on a G3 machine led to SIGILLs. The runtime cpu detection configure flag enables the '-maltivec' compiler flag by default, leading to the execution of altivec instructions unconditionally at runtime. They are not supported on G3s, so fix that issue by disabling the runtime cpu detection feature. OK Brad (maintainer)
This commit is contained in:
parent
d9f3732265
commit
890ea9b53f
@ -1,11 +1,11 @@
|
||||
# $OpenBSD: Makefile,v 1.313 2021/04/29 03:57:55 rsadowski Exp $
|
||||
# $OpenBSD: Makefile,v 1.314 2021/07/10 11:49:34 cwen Exp $
|
||||
|
||||
COMMENT= movie player supporting many formats
|
||||
|
||||
V= 20210124
|
||||
FFMPEG_V= 4.4
|
||||
DISTNAME= mplayer-${V}
|
||||
REVISION= 1
|
||||
REVISION= 2
|
||||
CATEGORIES= x11 multimedia
|
||||
MASTER_SITES= https://comstyle.com/source/
|
||||
EXTRACT_SUFX= .tar.xz
|
||||
@ -144,10 +144,8 @@ CONFIGURE_ARGS+=--enable-runtime-cpudetection
|
||||
LDFLAGS+= -Wl,-znotext
|
||||
.endif
|
||||
|
||||
# binutils 2.15 assembler missing opcode support
|
||||
.if ${MACHINE_ARCH:Mpowerpc}
|
||||
CONFIGURE_ARGS+=--disable-altivec \
|
||||
--enable-runtime-cpudetection
|
||||
CONFIGURE_ARGS+=--disable-altivec
|
||||
.endif
|
||||
|
||||
CONFIGURE_ENV+= LOCALBASE="${LOCALBASE}" TMPDIR="${WRKBUILD}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user