summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authoraliaspider2014-12-09 09:54:33 +0100
committeraliaspider2014-12-09 09:54:33 +0100
commit1a6a13680119d40bb20f1bd8a7e62a76c6b16d58 (patch)
tree07403bf2ccb1785b186ac7535d85f8169f970020 /Makefile
parenta859afadfdbdc1449d039f66b957487342ef8e1a (diff)
downloadpicogpsp-1a6a13680119d40bb20f1bd8a7e62a76c6b16d58.tar.gz
picogpsp-1a6a13680119d40bb20f1bd8a7e62a76c6b16d58.tar.bz2
picogpsp-1a6a13680119d40bb20f1bd8a7e62a76c6b16d58.zip
dynamic recompiler now works when the core is compiled as a shared
library.
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)