From 02c49bd1c93dcb1d981f752bc66f21b01a5a88ae Mon Sep 17 00:00:00 2001 From: Mario Sergio Fujikawa Ferreira Date: Mon, 8 Sep 2003 00:54:07 +0000 Subject: Fix build on alpha ARCH machines that do not support MVI code. Check PR for more information PR: 48506 Submitted by: naddy --- multimedia/libmpeg2/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'multimedia') 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) -- cgit v1.2.3