summaryrefslogtreecommitdiff
path: root/v4l2-apps/lib/libv4l/libv4l2/Makefile
diff options
context:
space:
mode:
authorhans@localhost.localdomain <hans@localhost.localdomain>2008-08-04 16:09:03 +0200
committerhans@localhost.localdomain <hans@localhost.localdomain>2008-08-04 16:09:03 +0200
commit970369c4b036ee451d7c5adbe61040ec7060ddfb (patch)
treeb07b97b3d8fcb046f62fc6cf62a79eb5fd812961 /v4l2-apps/lib/libv4l/libv4l2/Makefile
parente0e6d4a7982b61a901c49c1b099b067a0e613eb6 (diff)
downloadmediapointer-dvb-s2-970369c4b036ee451d7c5adbe61040ec7060ddfb.tar.gz
mediapointer-dvb-s2-970369c4b036ee451d7c5adbe61040ec7060ddfb.tar.bz2
libv4l: keep our own CPPFLAGS even when otherflags are specified to make
From: Gregor Jasny <jasny@vidsoft.de> libv4l: keep our own CPPFLAGS even when otherflags are specified to make Signed-off-by: Gregor Jasny <jasny@vidsoft.de> Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
Diffstat (limited to 'v4l2-apps/lib/libv4l/libv4l2/Makefile')
-rw-r--r--v4l2-apps/lib/libv4l/libv4l2/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/v4l2-apps/lib/libv4l/libv4l2/Makefile b/v4l2-apps/lib/libv4l/libv4l2/Makefile
index d8ac01c34..ff3cb9ddc 100644
--- a/v4l2-apps/lib/libv4l/libv4l2/Makefile
+++ b/v4l2-apps/lib/libv4l/libv4l2/Makefile
@@ -1,4 +1,4 @@
-CPPFLAGS = -I../include -I../../../../linux/include
+override CPPFLAGS += -I../include -I../../../../linux/include
CFLAGS := -g -O1
CFLAGS += -Wall -W -Wno-unused -Wpointer-arith -Wstrict-prototypes
@@ -17,7 +17,7 @@ else
V4L2_LIB = libv4l2.so
V4L2_OBJS += ../libv4lconvert/libv4lconvert.so
TARGETS += $(V4L2CONVERT)
-CPPFLAGS += -fPIC
+override CPPFLAGS += -fPIC
endif
ifeq ($(LIB_RELEASE),)