summaryrefslogtreecommitdiff
path: root/package/v4l-utils/patches/patch-Make_rules
blob: f7bdb14f72236dc891d6b50c52c1444ab229d27c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- v4l-utils-0.8.5.orig/Make.rules	2011-07-17 18:06:39.000000000 +0200
+++ v4l-utils-0.8.5/Make.rules	2011-09-18 20:20:32.000000000 +0200
@@ -2,12 +2,12 @@ V4L_UTILS_VERSION=0.8.5
 
 # These ones can be overriden from the cmdline
 
-CFLAGS := -g -O1
+CFLAGS ?= -g -O1
 CFLAGS += -Wall -Wpointer-arith
 CXXFLAGS := $(CFLAGS)
 CFLAGS += -Wstrict-prototypes -Wmissing-prototypes
 
-PREFIX = /usr/local
+PREFIX = /usr
 LIBDIR = $(PREFIX)/lib
 # subdir below LIBDIR in which to install the libv4lx libc wrappers
 LIBSUBDIR = libv4l