aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tracker/makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tracker/makefile b/tracker/makefile
index 5a62b2b..c6e72bc 100644
--- a/tracker/makefile
+++ b/tracker/makefile
@@ -35,7 +35,7 @@ LINUXINCLUDE = -I/usr/include -I$(PDPATH)/src
LINUXLDFLAGS = -export_dynamic -shared
.c.pd_linux:
- $(CC) $(LINUXCFLAGS) $(LINUXINCLUDE) -o $*.o -c $*.c
+ $(CC) $(LINUXCFLAGS) $(CFLAGS) $(LINUXINCLUDE) -fPIC -o $*.o -c $*.c
$(LD) $(LINUXLDFLAGS) -o $*.pd_linux $*.o -lc -lm
strip --strip-unneeded $*.pd_linux