pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/libtorrent use GCC specific flags for GCC 5, too.
details: https://anonhg.NetBSD.org/pkgsrc/rev/c120d391014e
branches: trunk
changeset: 349086:c120d391014e
user: maya <maya%pkgsrc.org@localhost>
date: Mon Jun 27 19:16:02 2016 +0000
description:
use GCC specific flags for GCC 5, too.
Fixes build on NetBSD-current.
diffstat:
net/libtorrent/Makefile | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 4ce42b5c3e8b -r c120d391014e net/libtorrent/Makefile
--- a/net/libtorrent/Makefile Mon Jun 27 15:41:29 2016 +0000
+++ b/net/libtorrent/Makefile Mon Jun 27 19:16:02 2016 +0000
@@ -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 @@
.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
Home |
Main Index |
Thread Index |
Old Index