1
0
mirror of https://github.com/PurpleI2P/i2pd.git synced 2025-01-22 04:04:16 +00:00

Not overwrite -fPIC with CXXFLAGS

This commit is contained in:
Timofey Titovets 2015-01-13 15:14:52 +03:00
parent 3a30c00dae
commit 214eb0caa5

View File

@ -1,4 +1,4 @@
CXXFLAGS = -g -Wall -fPIC CXXFLAGS = -g -Wall
INCFLAGS = INCFLAGS =
## NOTE: The NEEDED_CXXFLAGS are here so that custom CXXFLAGS can be specified at build time ## NOTE: The NEEDED_CXXFLAGS are here so that custom CXXFLAGS can be specified at build time
@ -22,6 +22,8 @@ else # not supported
$(error Compiler too old) $(error Compiler too old)
endif endif
NEEDED_CXXFLAGS += -fPIC
ifeq ($(USE_STATIC),yes) ifeq ($(USE_STATIC),yes)
LIBDIR := /usr/lib LIBDIR := /usr/lib
LDLIBS = $(LIBDIR)/libboost_system.a LDLIBS = $(LIBDIR)/libboost_system.a