[2/3] CI: add workaround for zephyr

Message ID 20220601185752.31915-2-jon.mason@arm.com
State New
Headers show
Series [1/3] CI: use upstream master branch | expand

Commit Message

Jon Mason June 1, 2022, 6:57 p.m. UTC
GCC 12 is causing problems in newlib, which is causing problems for
zephyr.  Add a workaround until those issues can be resolved.

Signed-off-by: Jon Mason <jon.mason@arm.com>
---
 ci/meta-zephyr.yml | 4 ++++
 1 file changed, 4 insertions(+)

Patch

diff --git a/ci/meta-zephyr.yml b/ci/meta-zephyr.yml
index bdd0e2bb..0aa50a7d 100644
--- a/ci/meta-zephyr.yml
+++ b/ci/meta-zephyr.yml
@@ -9,5 +9,9 @@  repos:
     layers:
       meta-zephyr-core:
 
+local_conf_header:
+  gcc12bug: |
+    EXTRA_OECONF:append:pn-gcc-runtime = " ac_cv_func_fcntl=no  ac_cv_func_getexecname=no"
+
 target:
   - zephyr-kernel-test-all