浏览代码

pcmanfm: Disable incompatible-pointer-types warning as error

(From OE-Core rev: af1290104b58693df69457454ac2a0d35a7e8c60)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Khem Raj 1 年之前
父节点
当前提交
b48004a055
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      meta/recipes-sato/pcmanfm/pcmanfm_1.3.2.bb

+ 2 - 0
meta/recipes-sato/pcmanfm/pcmanfm_1.3.2.bb

@@ -27,6 +27,8 @@ inherit autotools pkgconfig features_check mime-xdg
 REQUIRED_DISTRO_FEATURES = "x11"
 
 EXTRA_OECONF = "--with-gtk=3"
+# GCC 14 finds extra incompatible pointer type warnings which are treated as errors
+CFLAGS += "-Wno-error=incompatible-pointer-types"
 
 do_install:append () {
 	install -d ${D}/${datadir}