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:
parent
f84c2ea5e2
commit
2cd0806c92
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue