[package] update gst-plugins-base to 0.10.25, modularize plugin building
[openwrt/svn-archive/archive.git] / multimedia / motion / patches / 002-honor_cppflags.patch
1 --- a/Makefile.in
2 +++ b/Makefile.in
3 @@ -31,6 +31,7 @@ examplesdir = $(datadir)/@PACKAGE_NAME@-
4 # install. #
5 ################################################################################
6 CFLAGS = @CFLAGS@ -Wall -DVERSION=\"@PACKAGE_VERSION@\" -Dsysconfdir=\"$(sysconfdir)\"
7 +CPPFLAGS = @CPPFLAGS@
8 LDFLAGS = @LDFLAGS@
9 LIBS = @LIBS@
10 VIDEO_OBJ = @VIDEO@
11 @@ -118,7 +119,7 @@ endif
12 ################################################################################
13 $(DEPEND_FILE): *.h $(SRC)
14 @echo "Generating dependencies, please wait..."
15 - @$(CC) $(CFLAGS) -M $(SRC) > .tmp
16 + @$(CC) $(CFLAGS) $(CPPFLAGS) -M $(SRC) > .tmp
17 @mv -f .tmp $(DEPEND_FILE)
18 @echo
19