summaryrefslogtreecommitdiffstats
path: root/common.mk
diff options
context:
space:
mode:
Diffstat (limited to 'common.mk')
-rw-r--r--common.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/common.mk b/common.mk
index 1758acd..ee58558 100644
--- a/common.mk
+++ b/common.mk
@@ -12,8 +12,8 @@ LIBDIR ?= $(ROOTDIR)
OBJDIR ?= $(ROOTDIR)
DEPENDDIR ?= $(ROOTDIR)
-CXXFLAGS += $(addprefix -I ,$(INCDIR))
-CFLAGS += $(addprefix -I ,$(INCDIR))
+CXXFLAGS += $(addprefix -I ,$(INCDIR)) -fPIC
+CFLAGS += $(addprefix -I ,$(INCDIR)) -fPIC
# Source files in this directory
SRC = $(wildcard *.cpp)