diff options
author | tron <tron> | 2014-11-04 08:36:17 +0000 |
---|---|---|
committer | tron <tron> | 2014-11-04 08:36:17 +0000 |
commit | b99a714f47e03e1770baa2cd28183dea8ad94e56 (patch) | |
tree | 0913710d44cd0cc401b6cb9273eb4b839419a9e0 | |
parent | ef331b98082cb55ddf59cf4b6c0c204a0a3afaba (diff) | |
download | pkgsrc-b99a714f47e03e1770baa2cd28183dea8ad94e56.tar.gz |
Attempt to fix build problems of "rtorretn" on 32bit platforms like
Linux/i586 or NetBSD/i386.
-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" |