acpid: modify CFLAGS
authorJoe Slater <jslater@windriver.com>
Sun, 10 Feb 2013 19:55:06 +0000 (19:55 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 30 May 2013 19:59:11 +0000 (20:59 +0100)
commit0f92f74222cea74ae85ef4ed47c84d43c9d4da9f
tree9835332703466eb103f55af6e68762615d7cb03c
parent932d8911854d18f95e2499383eb2ef84a5201f62
acpid: modify CFLAGS

Override the hard-coded CFLAGS used in Makefile to reference our CFLAGS.

Without this patch if the DEBUG_OPTIMIZATION is enabled (using -O0) the
compile log shows acpid still using -O2 because the Makefile has various
hard coded CFLAGS defined.  Instead of using the hard coded CFLAGS,
we simply define the proper set within the recipe itself.

(From OE-Core rev: 710e773b0677b75181506959492b37cf77a0951f)

Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Jeff Polk <jeff.polk@windriver.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-bsp/acpid/acpid.inc