summaryrefslogtreecommitdiff
path: root/net/libtorrent
diff options
context:
space:
mode:
authortron <tron>2014-11-04 08:36:17 +0000
committertron <tron>2014-11-04 08:36:17 +0000
commit7a158b400560c1cb6da60bcd01be18936d28d055 (patch)
tree0913710d44cd0cc401b6cb9273eb4b839419a9e0 /net/libtorrent
parent39d353e4bf0882b1feb35186ede0a26d5003956a (diff)
downloadpkgsrc-7a158b400560c1cb6da60bcd01be18936d28d055.tar.gz
Attempt to fix build problems of "rtorretn" on 32bit platforms like
Linux/i586 or NetBSD/i386.
Diffstat (limited to 'net/libtorrent')
-rw-r--r--net/libtorrent/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/net/libtorrent/Makefile b/net/libtorrent/Makefile
index d47d4da8c89..e4da9903ddc 100644
--- a/net/libtorrent/Makefile
+++ b/net/libtorrent/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.52 2014/06/15 22:44:15 tron Exp $
+# $NetBSD: Makefile,v 1.53 2014/11/04 08:36:17 tron Exp $
DISTNAME= libtorrent-0.13.4
+PKGREVISION= 1
CATEGORIES= net
MASTER_SITES= http://libtorrent.rakshasa.no/downloads/
@@ -43,8 +44,8 @@ CXXFLAGS+= -fpermissive -fno-strength-reduce -fno-thread-jumps \
-fno-inline -fforce-addr
.endif
-.if !empty(CC_VERSION:Mgcc-*) && !empty(MACHINE_ARCH:Mi?86)
-CXXFLAGS+= -march=i486
+.if empty(MACHINE_ARCH:M*64*) && ${MACHINE_ARCH} != "alpha"
+CONFIGURE_ARGS+= --disable-instrumentation
.endif
.include "../../security/openssl/buildlink3.mk"