summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/runtime/cases
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2020-08-16 20:30:15 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-08-18 11:43:32 +0100
commit77b2e00c37c661a502bb47fcbbeb2e71aca5b9ce (patch)
treed17774857f59df87fdfabe90a15e97bab2dba8d4 /meta/lib/oeqa/runtime/cases
parent8e1d8c2099f29b45f1e96d4349731db036fb7548 (diff)
downloadopenembedded-core-contrib-77b2e00c37c661a502bb47fcbbeb2e71aca5b9ce.tar.gz
buildcpio.py: Apply patch to fix build with -fno-common
This sed expression implements the needed patch to fix compilation with -fno-common, hopefully this patch will get included in 2.14 release and we can remove this operation Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/runtime/cases')
-rw-r--r--meta/lib/oeqa/runtime/cases/buildcpio.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/lib/oeqa/runtime/cases/buildcpio.py b/meta/lib/oeqa/runtime/cases/buildcpio.py
index d0f91668b2..e29bf16ccb 100644
--- a/meta/lib/oeqa/runtime/cases/buildcpio.py
+++ b/meta/lib/oeqa/runtime/cases/buildcpio.py
@@ -27,6 +27,7 @@ class BuildCpioTest(OERuntimeTestCase):
@OEHasPackage(['autoconf'])
def test_cpio(self):
self.project.download_archive()
- self.project.run_configure('--disable-maintainer-mode','')
+ self.project.run_configure('--disable-maintainer-mode',
+ 'sed -i -e "/char \*program_name/d" src/global.c;')
self.project.run_make()
self.project.run_install()