summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 6d5b019..0d428ba 100644
--- a/Makefile
+++ b/Makefile
@@ -42,7 +42,7 @@ endif
ASFLAGS = $(CFLAGS)
INCDIRS := -I.
-LDFLAGS += -shared -m32 -Wl,--no-undefined -Wl,--version-script=link.T
+LDFLAGS += -shared -m32 -Wl,--no-undefined -Wl,--version-script=link.T -fPIC
LDLIBS += -lz
all: $(TARGET)