diff options
author | tron <tron@pkgsrc.org> | 2014-11-04 08:36:17 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2014-11-04 08:36:17 +0000 |
commit | 8240b99920242ab3b333fa18a14a2abe5772dc5d (patch) | |
tree | 0913710d44cd0cc401b6cb9273eb4b839419a9e0 /net/libtorrent | |
parent | 257875b8f10f306e6edb440efabc61a69e806116 (diff) | |
download | pkgsrc-8240b99920242ab3b333fa18a14a2abe5772dc5d.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/Makefile | 7 |
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" |