summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f342347..5fb97ed 100644
--- a/Makefile
+++ b/Makefile
@@ -16,7 +16,7 @@ ${LIBNAME:=.a}: ${OBJ}
ar rcs $@ ${OBJ}
.c.o:
- ${CC} ${CFLAGS} -c $<
+ ${CC} ${CFLAGS} -fPIC -c $<
all: ${LIBNAME:=.so} ${LIBNAME:=.a}