gst-openmax: do not use `-Werror` in `CFLAGS` to fix build
gst-openmax: do not use `-Werror` in `CFLAGS` to fix build

Task `compile` fails with the following error using `angstrom-2008.1` for `MACHINE = "beagleboard"`.

	arm-angstrom-linux-gnueabi-libtool: compile:  arm-angstrom-linux-gnueabi-gcc -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mthumb-interwork -mno-thumb -DHAVE_CONFIG_H -I. -I.. -isystem/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include -I./headers -I../gst-libs -I../gst-libs -pthread -I/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/gstreamer-0.10 -I/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/glib-2.0 -I/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib/glib-2.0/include -I/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/libxml2 -Wall -Werror -g -DGST_DISABLE_DEPRECATED -pthread -I/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/gstreamer-0.10 -I/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/glib-2.0 -I/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib/glib-2.0/include -I/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/libxml2 -I../util -isystem/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb2 -MT libgstomx_la-gstomx_base_videoenc.lo -MD -MP -MF .deps/libgstomx_la-gstomx_base_videoenc.Tpo -c gstomx_base_videoenc.c  -fPIC -DPIC -o .libs/libgstomx_la-gstomx_base_videoenc.o
	cc1: warnings being treated as errors
	gstomx_base_videoenc.c: In function 'sink_setcaps':
	gstomx_base_videoenc.c:239: error: implicit declaration of function 'free'
	gstomx_base_videoenc.c:239: error: incompatible implicit declaration of built-in function 'free'
	gstomx_base_videoenc.c: In function 'omx_setup':
	gstomx_base_videoenc.c:326: error: incompatible implicit declaration of built-in function 'free'
	cc1: warnings being treated as errors
	gstomx_base_filter.c: In function 'setup_ports':
	gstomx_base_filter.c:65: error: implicit declaration of function 'free'
	gstomx_base_filter.c:65: error: incompatible implicit declaration of built-in function 'free'
	gstomx_base_filter.c: In function 'output_loop':
	gstomx_base_filter.c:387: error: format '%d' expects type 'int', but argument 8 has type 'OMX_U32'
	gstomx_base_filter.c: In function 'pad_chain':
	gstomx_base_filter.c:476: error: format '%lu' expects type 'long unsigned int', but argument 8 has type 'guint'
	make[2]: *** [libgstomx_la-gstomx_base_videoenc.lo] Error 1
	make[2]: *** Waiting for unfinished jobs....
	cc1: warnings being treated as errors
	gstomx_base_videodec.c: In function 'settings_changed_cb':
	gstomx_base_videodec.c:111: error: implicit declaration of function 'calloc'
	gstomx_base_videodec.c:111: error: incompatible implicit declaration of built-in function 'calloc'
	gstomx_base_videodec.c:135: error: implicit declaration of function 'free'
	gstomx_base_videodec.c:135: error: incompatible implicit declaration of built-in function 'free'
	gstomx_base_videodec.c: In function 'sink_setcaps':
	gstomx_base_videodec.c:179: error: incompatible implicit declaration of built-in function 'calloc'
	gstomx_base_videodec.c:208: error: incompatible implicit declaration of built-in function 'free'
	gstomx_base_videodec.c: In function 'omx_setup':
	gstomx_base_videodec.c:229: error: incompatible implicit declaration of built-in function 'calloc'
	gstomx_base_videodec.c:291: error: incompatible implicit declaration of built-in function 'free'
	make[2]: *** [libgstomx_la-gstomx_base_filter.lo] Error 1
	make[2]: *** [libgstomx_la-gstomx_base_videodec.lo] Error 1
	arm-angstrom-linux-gnueabi-libtool: compile:  arm-angstrom-linux-gnueabi-gcc -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mthumb-interwork -mno-thumb -DHAVE_CONFIG_H -I. -I.. -isystem/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include -I./headers -I../gst-libs -I../gst-libs -pthread -I/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/gstreamer-0.10 -I/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/glib-2.0 -I/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib/glib-2.0/include -I/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/libxml2 -Wall -Werror -g -DGST_DISABLE_DEPRECATED -pthread -I/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/gstreamer-0.10 -I/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/glib-2.0 -I/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib/glib-2.0/include -I/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/libxml2 -I../util -isystem/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb2 -MT libgstomx_la-gstomx.lo -MD -MP -MF .deps/libgstomx_la-gstomx.Tpo -c gstomx.c -o libgstomx_la-gstomx.o >/dev/null 2>&1
	mv -f .deps/libgstomx_la-gstomx.Tpo .deps/libgstomx_la-gstomx.Plo
	make[2]: Leaving directory `/oe/build/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/gst-openmax-0.10.0.4-r0/gst-openmax-0.10.0.4/omx'
	make[1]: *** [all-recursive] Error 1
	make[1]: Leaving directory `/oe/build/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/gst-openmax-0.10.0.4-r0/gst-openmax-0.10.0.4'
	make: *** [all] Error 2
	FATAL: oe_runmake failed
	ERROR: Function do_compile failed

`configure.ac` contains

	dnl These flags can be overridden at make time:
	dnl make ERROR_CFLAGS=
	AC_DEFUN([AG_GST_SET_ERROR_CFLAGS],
	[
		AC_REQUIRE([AC_PROG_CC])
		AC_REQUIRE([AS_COMPILER_FLAG])

		[…]

		dnl if asked for, add -Werror if supported
		if test "x$1" != "xno"
		then
		  AS_COMPILER_FLAG(-Werror, ERROR_CFLAGS="$ERROR_CFLAGS -Werror")

and so set `ERROR_FLAGS` only to `-Wall`. This fixes the build.

Signed-off-by: Paul Menzel <acd6d3b156327487a919475da61b8867f1e8b249@users.sourceforge.net>
Acked-by: Koen Kooi <42e3d96910f922bdd7dd1805fe3f8aff634f391d@openembedded.org>
Signed-off-by: Khem Raj <729d64b6f67515e258459a5f6d20ec88b2caf8df@gmail.com>

dellysunnymtech/sakoman-oe,SIFTeam/openembedded,yyli/overo-oe,sampov2/audio-openembedded,openembedded/openembedded,JamesAng/oe,yyli/overo-oe,sledz/oe,JamesAng/oe,dave-billin/overo-ui-moos-auv,sentient-energy/emsw-oe-mirror,JamesAng/oe,JamesAng/oe,buglabs/oe-buglabs,JamesAng/oe,nx111/openembeded_openpli2.1_nx111,nx111/openembeded_openpli2.1_nx111,openembedded/openembedded,openembedded/openembedded,xifengchuo/openembedded,xifengchuo/openembedded,JamesAng/goe,xifengchuo/openembedded,JamesAng/goe,mrchapp/arago-oe-dev,rascalmicro/openembedded-rascal,sutajiokousagi/openembedded,SIFTeam/openembedded,giobauermeister/openembedded,yyli/overo-oe,BlackPole/bp-openembedded,buglabs/oe-buglabs,scottellis/overo-oe,dave-billin/overo-ui-moos-auv,SIFTeam/openembedded,sledz/oe,SIFTeam/openembedded,yyli/overo-oe,giobauermeister/openembedded,dave-billin/overo-ui-moos-auv,sampov2/audio-openembedded,sutajiokousagi/openembedded,xifengchuo/openembedded,sampov2/audio-openembedded,nx111/openembeded_openpli2.1_nx111,thebohemian/openembedded,buglabs/oe-buglabs,mrchapp/arago-oe-dev,nx111/openembeded_openpli2.1_nx111,JamesAng/oe,sutajiokousagi/openembedded,giobauermeister/openembedded,yyli/overo-oe,rascalmicro/openembedded-rascal,giobauermeister/openembedded,hulifox008/openembedded,BlackPole/bp-openembedded,hulifox008/openembedded,xifengchuo/openembedded,scottellis/overo-oe,BlackPole/bp-openembedded,dellysunnymtech/sakoman-oe,buglabs/oe-buglabs,dellysunnymtech/sakoman-oe,buglabs/oe-buglabs,scottellis/overo-oe,rascalmicro/openembedded-rascal,mrchapp/arago-oe-dev,BlackPole/bp-openembedded,thebohemian/openembedded,hulifox008/openembedded,SIFTeam/openembedded,rascalmicro/openembedded-rascal,sledz/oe,openembedded/openembedded,sentient-energy/emsw-oe-mirror,sentient-energy/emsw-oe-mirror,JamesAng/oe,BlackPole/bp-openembedded,thebohemian/openembedded,xifengchuo/openembedded,rascalmicro/openembedded-rascal,scottellis/overo-oe,dave-billin/overo-ui-moos-auv,openembedded/openembedded,scottellis/overo-oe,giobauermeister/openembedded,hulifox008/openembedded,SIFTeam/openembedded,SIFTeam/openembedded,buglabs/oe-buglabs,openembedded/openembedded,nx111/openembeded_openpli2.1_nx111,BlackPole/bp-openembedded,sutajiokousagi/openembedded,giobauermeister/openembedded,sledz/oe,sampov2/audio-openembedded,sampov2/audio-openembedded,giobauermeister/openembedded,openembedded/openembedded,openembedded/openembedded,openembedded/openembedded,sampov2/audio-openembedded,buglabs/oe-buglabs,dellysunnymtech/sakoman-oe,hulifox008/openembedded,giobauermeister/openembedded,JamesAng/goe,thebohemian/openembedded,dave-billin/overo-ui-moos-auv,yyli/overo-oe,dellysunnymtech/sakoman-oe,JamesAng/goe,buglabs/oe-buglabs,thebohemian/openembedded,dellysunnymtech/sakoman-oe,yyli/overo-oe,rascalmicro/openembedded-rascal,BlackPole/bp-openembedded,hulifox008/openembedded,mrchapp/arago-oe-dev,JamesAng/goe,scottellis/overo-oe,giobauermeister/openembedded,mrchapp/arago-oe-dev,openembedded/openembedded,xifengchuo/openembedded,nx111/openembeded_openpli2.1_nx111,sutajiokousagi/openembedded,JamesAng/goe,yyli/overo-oe,dellysunnymtech/sakoman-oe,openembedded/openembedded,dellysunnymtech/sakoman-oe,sutajiokousagi/openembedded,dave-billin/overo-ui-moos-auv,sentient-energy/emsw-oe-mirror,sentient-energy/emsw-oe-mirror,nx111/openembeded_openpli2.1_nx111,hulifox008/openembedded,thebohemian/openembedded,JamesAng/goe,rascalmicro/openembedded-rascal,xifengchuo/openembedded,sledz/oe,sentient-energy/emsw-oe-mirror,xifengchuo/openembedded,dave-billin/overo-ui-moos-auv,dellysunnymtech/sakoman-oe,mrchapp/arago-oe-dev,mrchapp/arago-oe-dev,rascalmicro/openembedded-rascal,sentient-energy/emsw-oe-mirror,nx111/openembeded_openpli2.1_nx111,scottellis/overo-oe,sledz/oe,thebohemian/openembedded,sampov2/audio-openembedded,sledz/oe,sutajiokousagi/openembedded