diff options
Diffstat (limited to 'meta/lib/oeqa/sdk/cases/autotools.py')
| -rw-r--r-- | meta/lib/oeqa/sdk/cases/autotools.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oeqa/sdk/cases/autotools.py b/meta/lib/oeqa/sdk/cases/autotools.py index 4bac28f04d..b3a71f2aa5 100644 --- a/meta/lib/oeqa/sdk/cases/autotools.py +++ b/meta/lib/oeqa/sdk/cases/autotools.py | |||
| @@ -35,8 +35,8 @@ class AutotoolsTest(OESDKTestCase): | |||
| 35 | self.assertTrue(os.path.isdir(dirs["source"])) | 35 | self.assertTrue(os.path.isdir(dirs["source"])) |
| 36 | os.makedirs(dirs["build"]) | 36 | os.makedirs(dirs["build"]) |
| 37 | 37 | ||
| 38 | self._run("cd {build} && {source}/configure $CONFIGURE_FLAGS".format(**dirs)) | 38 | self._run("cd {build} && {source}/configure CFLAGS='-std=gnu17 -Dbool=int -Dtrue=1 -Dfalse=0 -Wno-error=implicit-function-declaration' $CONFIGURE_FLAGS".format(**dirs)) |
| 39 | self._run("cd {build} && make -j".format(**dirs)) | 39 | self._run("cd {build} && make CFLAGS='-std=gnu17 -Dbool=int -Dtrue=1 -Dfalse=0 -Wno-error=implicit-function-declaration' -j".format(**dirs)) |
| 40 | self._run("cd {build} && make install DESTDIR={install}".format(**dirs)) | 40 | self._run("cd {build} && make install DESTDIR={install}".format(**dirs)) |
| 41 | 41 | ||
| 42 | self.check_elf(os.path.join(dirs["install"], "usr", "local", "bin", "cpio")) | 42 | self.check_elf(os.path.join(dirs["install"], "usr", "local", "bin", "cpio")) |
