rpm: disable -Wno-override-init
authorRobert Yang <liezhi.yang@windriver.com>
Tue, 8 Jul 2014 15:39:20 +0000 (08:39 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 10 Jul 2014 16:38:34 +0000 (17:38 +0100)
commita9bd7b0838b3f99668603ace2aed48d5d699e773
tree8e837b9a07f9889655aed2d9ecf8ed5c2b8da17a
parent2e818af3a79b461fff5cd6cc08b783e6941b80ca
rpm: disable -Wno-override-init

Fixed rpm-native.do_configure error on CentOS 5.x:
cc1: error: unrecognized command line option "-Wno-override-init"

The -Wno-override-init was commented in rpm-5.4.9, but commented out in
rpm-5.4.14 thus it is failed to build on CentOS 5.x, comment it again to fix
the problem.

(From OE-Core rev: ad4a54a0f5bb667f5d5e3df2bcf841b05e0d0f2c)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/rpm/rpm/rpm-disable-Wno-override-init.patch [new file with mode: 0644]
meta/recipes-devtools/rpm/rpm_5.4+cvs.bb
meta/recipes-devtools/rpm/rpm_5.4.14.bb