[osmpbf] 13/22: Compile with -fPIC

Bas Couwenberg sebastic at xs4all.nl
Sun Mar 16 10:08:42 UTC 2014


This is an automated email from the git hooks/post-receive script.

sebastic-guest pushed a commit to tag v1.3.1
in repository osmpbf.

commit 2cd0806c927b3d43b85aa8195a99985fbe4dbc5d
Author: Jochen Topf <jochen at topf.org>
Date:   Fri Aug 30 17:42:14 2013 +0200

    Compile with -fPIC
    
    This is needed on 64bit machines when the resulting static library will later
    be included in a dynamic library.
---
 src/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/Makefile b/src/Makefile
index 16c3e97..a735f45 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1,6 +1,6 @@
 
-CXX = g++
-CXXFLAGS = -O3
+CXXFLAGS += -O3 -fPIC
+
 AR = ar
 
 all: libosmpbf.a ../include/osmpbf/fileformat.pb.h ../include/osmpbf/osmformat.pb.h

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/osmpbf.git



More information about the Pkg-grass-devel mailing list