From 9f5ece60c95dcde6cea93ff73bf25b9a60afac76 Mon Sep 17 00:00:00 2001 From: wiz Date: Sat, 21 Oct 2000 20:39:53 +0000 Subject: Enable assembler optimizations on i386 and sparc (where I could verify compilation). XXX: someone on ARM or MIPS processors could try activating those options... --- audio/madplay/Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'audio') diff --git a/audio/madplay/Makefile b/audio/madplay/Makefile index 4345295ff6e..9741c70c8d5 100644 --- a/audio/madplay/Makefile +++ b/audio/madplay/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2000/10/15 10:29:33 simonb Exp $ +# $NetBSD: Makefile,v 1.3 2000/10/21 20:39:53 wiz Exp $ # DISTNAME= mad-0.11.4b @@ -11,4 +11,12 @@ HOMEPAGE= http://sourceforge.net/projects/mad/ GNU_CONFIGURE= YES +.include "../../mk/bsd.prefs.mk" + +.if (${MACHINE_ARCH} == "i386") +CONFIGURE_ARGS+= --enable-fpm=i386 +.elif (${MACHINE_ARCH} == "sparc") +CONFIGURE_ARGS+= --enable-fpm=sparc +.endif + .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3