diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2014-07-08 08:39:20 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-07-10 17:38:34 +0100 |
commit | ae33bda011ce0c0a0e0dcd36bb38ba0186fa353d (patch) | |
tree | a903955477d7111c5faa00066860992c2b12ef25 /meta/recipes-devtools/rpm/rpm_5.4.14.bb | |
parent | 68df093c55fd0ef1fddbff99442dd9b35f598dfc (diff) | |
download | poky-ae33bda011ce0c0a0e0dcd36bb38ba0186fa353d.tar.gz |
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>
Diffstat (limited to 'meta/recipes-devtools/rpm/rpm_5.4.14.bb')
-rw-r--r-- | meta/recipes-devtools/rpm/rpm_5.4.14.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/rpm/rpm_5.4.14.bb b/meta/recipes-devtools/rpm/rpm_5.4.14.bb index cc836befe0..15c1738ac7 100644 --- a/meta/recipes-devtools/rpm/rpm_5.4.14.bb +++ b/meta/recipes-devtools/rpm/rpm_5.4.14.bb | |||
@@ -91,6 +91,7 @@ SRC_URI = "http://www.rpm5.org/files/rpm/rpm-5.4/rpm-5.4.14-0.20131024.src.rpm;e | |||
91 | file://rpm-payload-use-hashed-inode.patch \ | 91 | file://rpm-payload-use-hashed-inode.patch \ |
92 | file://rpm-fix-logio-cp.patch \ | 92 | file://rpm-fix-logio-cp.patch \ |
93 | file://rpm-db5-or-db6.patch \ | 93 | file://rpm-db5-or-db6.patch \ |
94 | file://rpm-disable-Wno-override-init.patch \ | ||
94 | " | 95 | " |
95 | 96 | ||
96 | # Uncomment the following line to enable platform score debugging | 97 | # Uncomment the following line to enable platform score debugging |