aboutsummaryrefslogtreecommitdiff
path: root/multimedia/mjpg-streamer/files/patch-plugins-input__uvc-Makefile
blob: 2ac58a91bd0e5fb2fdeae77bd45fff21de1bd758 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- plugins/input_uvc/Makefile.orig	2008-06-16 14:23:51.000000000 +0300
+++ plugins/input_uvc/Makefile	2013-08-24 05:02:59.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 ${LDFLAGS}
 #CFLAGS += -DDEBUG
 LFLAGS += -lpthread -ldl