Browse Source

Not overwrite -fPIC with CXXFLAGS

pull/148/head
Timofey Titovets 9 years ago
parent
commit
214eb0caa5
  1. 4
      Makefile.linux

4
Makefile.linux

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

Loading…
Cancel
Save