diff options
author | wiz <wiz@pkgsrc.org> | 2000-10-21 20:39:53 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2000-10-21 20:39:53 +0000 |
commit | 9f5ece60c95dcde6cea93ff73bf25b9a60afac76 (patch) | |
tree | 61a1e9f80d3797888e69346bdbb82f03995e1e7d /audio | |
parent | 2bf7b24e7d1c7c72f20e9854d4baf405f858a8d7 (diff) | |
download | pkgsrc-9f5ece60c95dcde6cea93ff73bf25b9a60afac76.tar.gz |
Enable assembler optimizations on i386 and sparc (where I could verify
compilation).
XXX: someone on ARM or MIPS processors could try activating those options...
Diffstat (limited to 'audio')
-rw-r--r-- | audio/madplay/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
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" |