diff options
author | jmmv <jmmv@pkgsrc.org> | 2004-01-26 12:06:40 +0000 |
---|---|---|
committer | jmmv <jmmv@pkgsrc.org> | 2004-01-26 12:06:40 +0000 |
commit | 97801837f9506c5f38f4d6afb2a75d1b912b62f5 (patch) | |
tree | 81669b36ee210f1ee80bb87d0d36f77ffdfd46c0 /multimedia/mplayer-share/Makefile.cflags | |
parent | 51b725afffce556014b16105dd49126a03908316 (diff) | |
download | pkgsrc-97801837f9506c5f38f4d6afb2a75d1b912b62f5.tar.gz |
Move mplayer-share to the multimedia category (coming from graphics).
This is version 1.0rc3.
Diffstat (limited to 'multimedia/mplayer-share/Makefile.cflags')
-rw-r--r-- | multimedia/mplayer-share/Makefile.cflags | 19 |
1 files changed, 19 insertions, 0 deletions
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 |