--- plugins/output_file/Makefile.orig 2008-06-16 14:23:47.000000000 +0300 +++ plugins/output_file/Makefile 2013-08-24 05:01:30.000000000 +0300 @@ -7,11 +7,10 @@ # ############################################################### -CC = gcc OTHER_HEADERS = ../../mjpg_streamer.h ../../utils.h ../output.h ../input.h -CFLAGS += -O2 -DLINUX -D_GNU_SOURCE -Wall -shared -fPIC +CFLAGS += -shared -fPIC LFLAGS += -lpthread -ldl all: output_file.so