From 96287588a27459cb9119e83516fcf6117d9e55c0 Mon Sep 17 00:00:00 2001 From: jasper Date: Wed, 24 Aug 2011 10:39:35 +0000 Subject: [PATCH] Fix build on mips64* ok rpointel@ (MAINTAINER) --- www/aria2/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/www/aria2/Makefile b/www/aria2/Makefile index b9a2ec3bf4b..7316a971b2e 100644 --- a/www/aria2/Makefile +++ b/www/aria2/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.10 2011/07/02 12:29:12 rpointel Exp $ +# $OpenBSD: Makefile,v 1.11 2011/08/24 10:39:35 jasper Exp $ COMMENT = lightweight multi-protocol & multi-source download utility DISTNAME = aria2-1.12.0 @@ -37,6 +37,10 @@ CONFIGURE_ARGS += --with-sqlite3 \ --with-libexpat \ --without-libxml2 +.if ${MACHINE_ARCH:Mmips64*} +CFLAGS += -O0 +.endif + USE_GROFF = Yes REGRESS_FLAGS += LDFLAGS="-lcppunit"