Compile with -fPIC

This is needed on 64bit machines when the resulting static library will later
be included in a dynamic library.
This commit is contained in:
Jochen Topf 2013-08-30 17:42:14 +02:00
parent f84c2ea5e2
commit 2cd0806c92
1 changed files with 2 additions and 2 deletions

View File

@ -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