summaryrefslogtreecommitdiff
path: root/Build/flags.mk
diff options
context:
space:
mode:
Diffstat (limited to 'Build/flags.mk')
-rw-r--r--Build/flags.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/flags.mk b/Build/flags.mk
index 0ee8efb..1f3c7f8 100644
--- a/Build/flags.mk
+++ b/Build/flags.mk
@@ -5,11 +5,11 @@ CPP_DEBUG_OP =
OPTIMIZATION_OP = -O0
CPP_OPTIMIZATION_OP =
-COMPILE_FLAGS = $(DEBUG_OP) $(OPTIMIZATION_OP) -Wall -c -fmessage-length=0
+COMPILE_FLAGS = $(DEBUG_OP) $(OPTIMIZATION_OP) -Wall -c -fmessage-length=0 -fPIC
CPP_COMPILE_FLAGS = $(CPP_DEBUG_OP) $(CPP_OPTIMIZATION_OP)
-LINK_FLAGS =
+LINK_FLAGS = -shared -Wl,--no-undefined
AR_FLAGS =