Received: from mail1.windriver.com ([147.11.146.13]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1U65Dy-0001Xq-Gp for openembedded-core@lists.openembedded.org; Thu, 14 Feb 2013 21:16:09 +0100 Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail1.windriver.com (8.14.5/8.14.3) with ESMTP id r1EH9Vw4010819 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL) for ; Thu, 14 Feb 2013 09:09:31 -0800 (PST) Received: from ala-jslater-lx3.wrs.com (147.11.152.42) by ALA-HCA.corp.ad.wrs.com (147.11.189.50) with Microsoft SMTP Server id 14.2.318.4; Thu, 14 Feb 2013 09:09:30 -0800 From: Joe Slater To: Date: Thu, 14 Feb 2013 09:09:30 -0800 Message-ID: <1360861770-30010-1-git-send-email-jslater@windriver.com> X-Mailer: git-send-email 1.7.3.4 MIME-Version: 1.0 Subject: [PATCH] acpid: modify CFLAGS X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Feb 2013 20:16:09 -0000 Content-Type: text/plain Override the hard-coded CFLAGS used in Makefile to reference our CFLAGS. Upstream-Status: Pending Signed-off-by: Joe Slater --- meta/recipes-bsp/acpid/acpid.inc | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/meta/recipes-bsp/acpid/acpid.inc b/meta/recipes-bsp/acpid/acpid.inc index 3c0219f..1ffe6ff 100644 --- a/meta/recipes-bsp/acpid/acpid.inc +++ b/meta/recipes-bsp/acpid/acpid.inc @@ -13,7 +13,9 @@ inherit update-rc.d INITSCRIPT_NAME = "acpid" INITSCRIPT_PARAMS = "defaults" -EXTRA_OEMAKE = "" +# Makefile ignores our CFLAGS, so override it. +# +EXTRA_OEMAKE = "CFLAGS='-W -Wall -Werror -Wundef -Wshadow ${CFLAGS} $(DEFS)'" do_compile () { oe_runmake 'CC=${CC} -D_GNU_SOURCE' 'CROSS=${HOST_PREFIX}' -- 1.7.3.4