mirror of
https://git.yoctoproject.org/poky
synced 2026-04-10 23:02:25 +02:00
buildgalculator: Patch to fix build with -fno-common
We need to apply a patch to galculator for it to build with gcc-10+ Remove double definition of 'prefs' variable (From OE-Core rev: 93a62e6b35d1a6ed3c678f8e27508dd0cdbdbbe4) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -35,7 +35,7 @@ class GalculatorTest(OESDKTestCase):
|
||||
self.assertTrue(os.path.isdir(dirs["source"]))
|
||||
os.makedirs(dirs["build"])
|
||||
|
||||
self._run("cd {source} && autoreconf -i -f -I $OECORE_TARGET_SYSROOT/usr/share/aclocal -I m4".format(**dirs))
|
||||
self._run("cd {source} && sed -i -e '/s_preferences.*prefs;/d' src/main.c && autoreconf -i -f -I $OECORE_TARGET_SYSROOT/usr/share/aclocal -I m4".format(**dirs))
|
||||
self._run("cd {build} && {source}/configure $CONFIGURE_FLAGS".format(**dirs))
|
||||
self._run("cd {build} && make -j".format(**dirs))
|
||||
self._run("cd {build} && make install DESTDIR={install}".format(**dirs))
|
||||
|
||||
Reference in New Issue
Block a user