From 8c304824210bf3bcf5037d282b91808996fd2e2b Mon Sep 17 00:00:00 2001 From: rillig Date: Sat, 29 Sep 2007 10:23:08 +0000 Subject: g++4 for i386 doesn't know -mcpu anymore, and I doubt this flag is necessary in this case at all. Fixes the build on NetBSD 4.99. --- archivers/upx/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'archivers') diff --git a/archivers/upx/Makefile b/archivers/upx/Makefile index 693f5bbe1fc..9aab771ba00 100644 --- a/archivers/upx/Makefile +++ b/archivers/upx/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2006/02/26 11:56:40 schwarz Exp $ +# $NetBSD: Makefile,v 1.14 2007/09/29 10:23:08 rillig Exp $ DISTNAME= upx-1.25-src PKGNAME= ${DISTNAME:S/-src//} @@ -17,6 +17,8 @@ USE_LANGUAGES= c c++ INSTALLATION_DIRS= bin +BUILDLINK_TRANSFORM= rm:-mcpu=i686 + do-build: cd ${WRKSRC:Q}/src && ${SETENV} ${MAKE_ENV} \ ${MAKE_PROGRAM} PREFIX=${PREFIX:Q} target=netbsd \ -- cgit v1.2.3