summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/plugins/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/Makefile b/apps/plugins/Makefile
index 843d3a5..802ff04 100644
--- a/apps/plugins/Makefile
+++ b/apps/plugins/Makefile
@@ -48,7 +48,7 @@ $(OBJDIR)/libplugin.a:
# in number of MB
$(LINKFILE): $(LDS)
@echo "build $@"
- @$(CC) -DMEMORYSIZE=$(MEMORYSIZE) $(DEFINES) -x c -E -P $< >$@
+ @cat $< | $(CC) -DMEMORYSIZE=$(MEMORYSIZE) $(INCLUDES) $(TARGET) $(DEFINES) -E -P - >$@
clean:
@echo "cleaning plugins"