pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/net/libtorrent



Module Name:    pkgsrc
Committed By:   maya
Date:           Mon Jun 27 19:16:02 UTC 2016

Modified Files:
        pkgsrc/net/libtorrent: Makefile

Log Message:
use GCC specific flags for GCC 5, too.
Fixes build on NetBSD-current.


To generate a diff of this commit:
cvs rdiff -u -r1.55 -r1.56 pkgsrc/net/libtorrent/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/libtorrent/Makefile
diff -u pkgsrc/net/libtorrent/Makefile:1.55 pkgsrc/net/libtorrent/Makefile:1.56
--- pkgsrc/net/libtorrent/Makefile:1.55 Sat Mar  5 11:27:52 2016
+++ pkgsrc/net/libtorrent/Makefile      Mon Jun 27 19:16:02 2016
@@ -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



Home | Main Index | Thread Index | Old Index