about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--config.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.mk b/config.mk
index 2ccc175..43aa85a 100644
--- a/config.mk
+++ b/config.mk
@@ -5,7 +5,7 @@ SNAME = $(NAME).a
 DNAME = $(NAME).so
 
 CC = gcc
-CFLAGS = -W -Wall -Wvla -std=gnu99 -g
+CFLAGS = -W -Wall -Wvla -std=gnu99 -g -fPIC
 CFLAGS += $(shell pkg-config --cflags libuv)
 LDLIBS = $(shell pkg-config --libs libuv)
 NANOPB_DIR = deps/nanopb