aboutsummaryrefslogtreecommitdiff
path: root/board/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--board/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/board/Makefile b/board/Makefile
index 24cb10c..03449cc 100644
--- a/board/Makefile
+++ b/board/Makefile
@@ -7,6 +7,7 @@ ifeq ($(OS),Windows_NT)
OUTEXT = dll
else
OUTEXT = so
+ CFLAGS += -fPIC
endif
default: all
@@ -29,4 +30,4 @@ clean:
rm -f *.o
rm -f *.dll
rm -f *.so
- rm -f */sound.h \ No newline at end of file
+ rm -f */sound.h