Browse Source

build system fix: compile C sources with -fPIC, just like C++ sources

lucasaiu/message-struct-change
Luca Saiu 4 years ago
parent
commit
02bb9edcde
  1. 1
      Makefile.conf

1
Makefile.conf

@ -18,6 +18,7 @@ PREFIX?=$(HOME)
# Constants
CXXFLAGS+=-std=c++11 -fPIC
CXXFLAGS+=-I$(PREFIX)/include
CFLAGS+=-fPIC
LDFLAGS+=-L$(PREFIX)/lib
ifneq (,$(findstring g++,$(CXX)))

Loading…
Cancel
Save