extended: Relax CFLAGS for GCC 15 Append compiler warning suppressions and C standard flags for nvme-cli, iotools, tcp-wrappers, and ipmitool under GCC 15. Tested: Verified build with GCC 15 and C++23 across gBMC platforms. - platform11: http://fusion2/3ff2006d-9c03-3f0c-99fd-bcefc6aaca1f - platform11: http://fusion2/982d88b5-28f9-38ef-a3a2-d824b919c13c - platform5: http://fusion2/a7e89bcd-86a0-33b2-8f33-2bb24ef3afb5 - platform15: http://fusion2/e56dcb19-6dcd-35a0-b5ee-30740fbf27df - platform17: http://fusion2/d0e6af61-eb95-3a70-a6a3-d1bdab987ea2 - platform18: http://fusion2/cda6ba3a-58f5-3907-b584-04786b9fe634 - platform25: http://fusion2/714cc620-6f0a-3bfd-90dd-95356b62b54b Google-Bug-Id: 482144905 Change-Id: I65ea16cb8f230c8dddc6a080fe366243c8f8b6e1 Signed-off-by: Willy Tu <wltu@google.com>
diff --git a/recipes-connectivity/nvme-cli/nvme-cli_%.bbappend b/recipes-connectivity/nvme-cli/nvme-cli_%.bbappend new file mode 100644 index 0000000..5d23145 --- /dev/null +++ b/recipes-connectivity/nvme-cli/nvme-cli_%.bbappend
@@ -0,0 +1,2 @@ +CFLAGS:append:gbmc = " -Wno-error=incompatible-pointer-types" +CFLAGS:append:pn-nvme-cli:gbmc = " -Wno-error=implicit-function-declaration"
diff --git a/recipes-devtools/iotools/iotools_%.bbappend b/recipes-devtools/iotools/iotools_%.bbappend new file mode 100644 index 0000000..13c1233 --- /dev/null +++ b/recipes-devtools/iotools/iotools_%.bbappend
@@ -0,0 +1 @@ +CC:append:gbmc = " -Wno-error=format-truncation"
diff --git a/recipes-extended/tcp-wrappers/tcp-wrappers_%.bbappend b/recipes-extended/tcp-wrappers/tcp-wrappers_%.bbappend new file mode 100644 index 0000000..3317460 --- /dev/null +++ b/recipes-extended/tcp-wrappers/tcp-wrappers_%.bbappend
@@ -0,0 +1 @@ +CFLAGS:append:pn-tcp-wrappers = " -std=gnu17"
diff --git a/recipes-kernel/ipmitool/ipmitool_%.bbappend b/recipes-kernel/ipmitool/ipmitool_%.bbappend new file mode 100644 index 0000000..d22bf2e --- /dev/null +++ b/recipes-kernel/ipmitool/ipmitool_%.bbappend
@@ -0,0 +1,3 @@ +# http://errors.yoctoproject.org/Errors/Details/766896/ +# git/lib/ipmi_fru.c:1556:41: error: initialization of 'struct fru_multirec_mgmt *' from incompatible pointer type 'struct fru_multirect_mgmt *' [-Wincompatible-pointer-types] +CFLAGS += "-Wno-error=incompatible-pointer-types"