diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2003-09-08 00:54:07 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2003-09-08 00:54:07 +0000 |
commit | 02c49bd1c93dcb1d981f752bc66f21b01a5a88ae (patch) | |
tree | 94da9ca189d628e2c40b34f18ea2d41fb72e5692 /multimedia | |
parent | Update 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/Makefile | 6 |
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) |