diff options
author | maya <maya@pkgsrc.org> | 2016-06-27 19:16:02 +0000 |
---|---|---|
committer | maya <maya@pkgsrc.org> | 2016-06-27 19:16:02 +0000 |
commit | 7ed6a5fe598715c10f7c25f1938bc2872bd8d2ff (patch) | |
tree | dc40cf01618f98fe238d9d930d1d918c9a2cab54 /net | |
parent | d50174340098643b268d9a3e0d8febbc42ac5719 (diff) | |
download | pkgsrc-7ed6a5fe598715c10f7c25f1938bc2872bd8d2ff.tar.gz |
use GCC specific flags for GCC 5, too.
Fixes build on NetBSD-current.
Diffstat (limited to 'net')
-rw-r--r-- | net/libtorrent/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/libtorrent/Makefile b/net/libtorrent/Makefile index b53cddcc108..352e9420c96 100644 --- a/net/libtorrent/Makefile +++ b/net/libtorrent/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.55 2016/03/05 11:27:52 jperkin Exp $ +# $NetBSD: Makefile,v 1.56 2016/06/27 19:16:02 maya Exp $ DISTNAME= libtorrent-0.13.6 PKGREVISION= 1 @@ -39,7 +39,7 @@ CONFIGURE_ARGS+= --with-kqueue .include "../../mk/compiler.mk" # See http://libtorrent.rakshasa.no/ticket/96 -.if !empty(CC_VERSION:Mgcc-4.*) +.if !empty(CC_VERSION:Mgcc-[45].*) CXXFLAGS+= -fpermissive -fno-strength-reduce -fno-thread-jumps \ -fno-inline -fforce-addr .endif |