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:37:40 +0100 |
commit | ad4a54a0f5bb667f5d5e3df2bcf841b05e0d0f2c (patch) | |
tree | 46cf1b4041da304c3a7b836fec449670fcb39a9d /meta/recipes-devtools/rpm/rpm_5.4+cvs.bb | |
parent | fd408c49fffbc63dc79954420a5cfa46809bd5ca (diff) | |
download | openembedded-core-contrib-ad4a54a0f5bb667f5d5e3df2bcf841b05e0d0f2c.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.
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-devtools/rpm/rpm_5.4+cvs.bb')
-rw-r--r-- | meta/recipes-devtools/rpm/rpm_5.4+cvs.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/rpm/rpm_5.4+cvs.bb b/meta/recipes-devtools/rpm/rpm_5.4+cvs.bb index 4ab22e7602..27d01dd49a 100644 --- a/meta/recipes-devtools/rpm/rpm_5.4+cvs.bb +++ b/meta/recipes-devtools/rpm/rpm_5.4+cvs.bb @@ -108,6 +108,7 @@ SRC_URI = "cvs://anonymous@rpm5.org/cvs;tag=rpm-5_4;module=rpm \ file://rpm-fix-logio-cp.patch \ file://rpm-db5-or-db6.patch \ file://rpm-rpmpgp-fix.patch \ + file://rpm-disable-Wno-override-init.patch \ " # Uncomment the following line to enable platform score debugging |