From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from dan.rpsys.net ([93.97.175.187]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1R9bVs-000623-3f for openembedded-core@lists.openembedded.org; Fri, 30 Sep 2011 13:44:20 +0200 Received: from localhost (dan.rpsys.net [127.0.0.1]) by dan.rpsys.net (8.14.2/8.14.2/Debian-2build1) with ESMTP id p8UBjF9S014087 for ; Fri, 30 Sep 2011 12:45:15 +0100 X-Virus-Scanned: Debian amavisd-new at dan.rpsys.net Received: from dan.rpsys.net ([127.0.0.1]) by localhost (dan.rpsys.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id OJX8QSVdDfpU for ; Fri, 30 Sep 2011 12:45:14 +0100 (BST) Received: from [192.168.1.40] (tim [93.97.173.237]) (authenticated bits=0) by dan.rpsys.net (8.14.2/8.14.2/Debian-2build1) with ESMTP id p8UBj8ml014083 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Fri, 30 Sep 2011 12:45:10 +0100 From: Richard Purdie To: Patches and discussions about the oe-core layer Date: Fri, 30 Sep 2011 12:38:39 +0100 In-Reply-To: <1317322353-30258-1-git-send-email-msm@freescale.com> References: <1317322353-30258-1-git-send-email-msm@freescale.com> X-Mailer: Evolution 3.1.91- Message-ID: <1317382729.12332.174.camel@ted> Mime-Version: 1.0 Subject: Re: [PATCH v2 10/16] Fix mdadm for powerpc64 X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Patches and discussions about the oe-core layer List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Sep 2011 11:44:20 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit On Thu, 2011-09-29 at 13:52 -0500, Matthew McClintock wrote: > This fixes build failures from build warnings on powerpc64 > > Signed-off-by: Matthew McClintock > --- > meta/recipes-extended/mdadm/mdadm_3.2.2.bb | 3 ++- > 1 files changed, 2 insertions(+), 1 deletions(-) > > diff --git a/meta/recipes-extended/mdadm/mdadm_3.2.2.bb b/meta/recipes-extended/mdadm/mdadm_3.2.2.bb > index 5d29ae7..1c83f89 100644 > --- a/meta/recipes-extended/mdadm/mdadm_3.2.2.bb > +++ b/meta/recipes-extended/mdadm/mdadm_3.2.2.bb > @@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \ > file://mdmon.c;beginline=4;endline=18;md5=af7d8444d9c4d3e5c7caac0d9d34039d \ > file://mdadm.h;beglinlne=4;endline=22;md5=462bc9936ac0d3da110191a3f9994161" > > -PR = "r0" > +PR = "r1" > > SRC_URI = "${KERNELORG_MIRROR}/linux/utils/raid/mdadm/${BPN}-${PV}.tar.bz2" > > @@ -16,6 +16,7 @@ SRC_URI[md5sum] = "12ee2fbf3beddb60601fb7a4c4905651" > SRC_URI[sha256sum] = "0d1a04e688b082bc88846e3f524abd50bc782b6ffc06123140f7d358c8f9b906" > > CFLAGS += "-fno-strict-aliasing" > +EXTRA_OEMAKE_append_powerpc64 = "CXFLAGS=-Wno-error=format" That isn't quite what I meant, that also overwrites anything existing in CXFLAGS just in a different way. Also, I suspect you mean CXXFLAGS? I'd meant something like: CXXFLAGS_append_powerpc64 = " -Wno-error=format" Cheers, Richard