diff --git a/apps/plugins/Makefile b/apps/plugins/Makefile index 843d3a5f88..802ff04675 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"