summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2003-09-08 00:54:07 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2003-09-08 00:54:07 +0000
commit02c49bd1c93dcb1d981f752bc66f21b01a5a88ae (patch)
tree94da9ca189d628e2c40b34f18ea2d41fb72e5692 /multimedia
parentUpdate to 3.0-beta1. (diff)
Fix build on alpha ARCH machines that do not support MVI code. Check
PR for more information PR: 48506 Submitted by: naddy
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/libmpeg2/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/multimedia/libmpeg2/Makefile b/multimedia/libmpeg2/Makefile
index bfc7eac0d052..2c06c1025403 100644
--- a/multimedia/libmpeg2/Makefile
+++ b/multimedia/libmpeg2/Makefile
@@ -46,6 +46,12 @@ CONFIGURE_ARGS+= --disable-sdl
CONFIGURE_ARGS+= --disable-warnings
.endif
+# We must be able to build EV6 code; actual CPU-type optimizations
+# are chosen at runtime.
+.if ${MACHINE_ARCH:L} == "alpha"
+CFLAGS:= ${CFLAGS:N-mcpu=*}
+.endif
+
pre-everything::
@${ECHO_MSG} "====>"
.ifndef(WITH_SDL)