aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/Makefile b/plugins/Makefile
index a87e798..e14bb2f 100644
--- a/plugins/Makefile
+++ b/plugins/Makefile
@@ -8,7 +8,6 @@ else
SO_EXT = so
SO_FLAGS = -shared
endif
-SO_FLAGS += -fPIC
TARGET = $(PLUGINNAME)/$(PLUGINNAME).$(SO_EXT)
@@ -32,4 +31,4 @@ $(PLUGINNAME)/%.$(SO_EXT): $(patsubst %.c,%.o,$(wildcard $(PLUGINNAME)/*.c))
$(CC) $(SO_FLAGS) -o $@ $(filter %.o,$^)
$(PLUGINNAME)/%.o: $(PLUGINNAME)/%.c $(wildcard $(PLUGINNAME)/*.h) $(wildcard ../*.h)
- $(CC) $(CFLAGS) $(SO_FLAGS) -o $@ $<
+ $(CC) -c $(CFLAGS) -o $@ $<