summaryrefslogtreecommitdiffstats
path: root/meta-oe
diff options
context:
space:
mode:
authorWang Mingyu <wangmy@fujitsu.com>2025-04-29 17:04:19 +0800
committerKhem Raj <raj.khem@gmail.com>2025-04-29 02:33:26 -0700
commitd23de74dc8f80b8a4abb21801dcfbef611664e9a (patch)
treec64a51819b2d990962ed946ecddc4f49cc2ebff7 /meta-oe
parenta954d8f2ee1e9c6b8c360afc3c6965e4c181a5dd (diff)
downloadmeta-openembedded-d23de74dc8f80b8a4abb21801dcfbef611664e9a.tar.gz
procmail: Add -Wno-implicit-int to fix error of do_compile
Without the option -Wno-implicit-int , the following error will occur and the command procmail will not be installed to target. lmtp.c:54:8: error: type defaults to 'int' in declaration of 'ctopfd' [-Wimplicit-int] 54 | static ctopfd; | ^~~~~~ make[1]: [Makefile:239: lmtp.o] Error 1 (ignored) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe')
-rw-r--r--meta-oe/recipes-support/procmail/procmail_3.22.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-oe/recipes-support/procmail/procmail_3.22.bb b/meta-oe/recipes-support/procmail/procmail_3.22.bb
index 32fc12c7da..86d75e8c7c 100644
--- a/meta-oe/recipes-support/procmail/procmail_3.22.bb
+++ b/meta-oe/recipes-support/procmail/procmail_3.22.bb
@@ -37,7 +37,7 @@ do_configure() {
37} 37}
38 38
39do_compile() { 39do_compile() {
40 oe_runmake -i CFLAGS="$TARGET_CFLAGS -Wno-comments -Wno-implicit-function-declaration -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" LDFLAGS0="${LDFLAGS}" 40 oe_runmake -i CFLAGS="$TARGET_CFLAGS -Wno-comments -Wno-implicit-int -Wno-implicit-function-declaration -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" LDFLAGS0="${LDFLAGS}"
41} 41}
42 42
43do_install() { 43do_install() {