pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/abseil abseil: build with -fPIC



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c8da3b2f9e37
branches:  trunk
changeset: 413145:c8da3b2f9e37
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Sun Mar 15 22:19:45 2020 +0000

description:
abseil: build with -fPIC

Fixes net/grpc shared library linking problem.

diffstat:

 devel/abseil/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 9f4c85a2f73b -r c8da3b2f9e37 devel/abseil/Makefile
--- a/devel/abseil/Makefile     Sun Mar 15 22:02:40 2020 +0000
+++ b/devel/abseil/Makefile     Sun Mar 15 22:19:45 2020 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.1 2020/02/06 20:11:35 adam Exp $
+# $NetBSD: Makefile,v 1.2 2020/03/15 22:19:45 tnn Exp $
 
 DISTNAME=      abseil-20190808
+PKGREVISION=   1
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=abseil/}
 GITHUB_PROJECT=        abseil-cpp
@@ -14,4 +15,6 @@
 USE_CMAKE=     yes
 USE_LANGUAGES= c++11
 
+CXXFLAGS+=     -fPIC
+
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index