From 70f929d5044474c59a39e1b801b756996033ad40 Mon Sep 17 00:00:00 2001 From: jmmv Date: Mon, 26 Jan 2004 12:06:40 +0000 Subject: Move mplayer-share to the multimedia category (coming from graphics). This is version 1.0rc3. --- multimedia/mplayer-share/Makefile.cflags | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 multimedia/mplayer-share/Makefile.cflags (limited to 'multimedia/mplayer-share/Makefile.cflags') diff --git a/multimedia/mplayer-share/Makefile.cflags b/multimedia/mplayer-share/Makefile.cflags new file mode 100644 index 00000000000..69c4c9382e7 --- /dev/null +++ b/multimedia/mplayer-share/Makefile.cflags @@ -0,0 +1,19 @@ +# $NetBSD: Makefile.cflags,v 1.1.1.1 2004/01/26 12:06:40 jmmv Exp $ + +# This must be included after everything else to truly clear ${CFLAGS} +# in the non-runtime-cpu-detection case. If ${CFLAGS} is non-empty, the +# configure script refuses to add any optimizations at all. + +.if ${MPLAYER_ENABLE_RUNTIME_CPU_DETECTION} == YES +. if ${MACHINE_ARCH} == i386 +# Schedule for the typical machine fast enough to run mplayer. This +# is nearly optimal for K6-2 as well. Anything slowler will still run +# (but would probably benefit greatly from turning off the run-time +# cpu detection). +CFLAGS= -O3 -ffast-math -fomit-frame-pointer -mcpu=pentiumpro +. else +CFLAGS= -O3 -ffast-math -fomit-frame-pointer +. endif +.else +CFLAGS= # Let "configure" do its thing. +.endif -- cgit v1.2.3