diff options
author | Wang Mingyu <wangmy@fujitsu.com> | 2025-04-29 17:04:19 +0800 |
---|---|---|
committer | Anuj Mittal <anuj.mittal@intel.com> | 2025-09-24 10:04:48 +0800 |
commit | e621da947048842109db1b4fd3917a02e0501aa2 (patch) | |
tree | 2db52b808d390e64fda914f6e5d1531ffd12e9b5 | |
parent | ac273bd3e126b3c24cccc8438e6ca8012f155e56 (diff) | |
download | meta-openembedded-e621da947048842109db1b4fd3917a02e0501aa2.tar.gz |
procmail: Add -Wno-implicit-int to fix error of do_compilescarthgap
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>
(cherry picked from commit d23de74dc8f80b8a4abb21801dcfbef611664e9a)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
-rw-r--r-- | meta-oe/recipes-support/procmail/procmail_3.22.bb | 2 |
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 604dd285e8..5da6ce2603 100644 --- a/meta-oe/recipes-support/procmail/procmail_3.22.bb +++ b/meta-oe/recipes-support/procmail/procmail_3.22.bb | |||
@@ -38,7 +38,7 @@ do_configure() { | |||
38 | } | 38 | } |
39 | 39 | ||
40 | do_compile() { | 40 | do_compile() { |
41 | oe_runmake -i CFLAGS="$TARGET_CFLAGS -Wno-comments -Wno-implicit-function-declaration -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" LDFLAGS0="${LDFLAGS}" | 41 | 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}" |
42 | } | 42 | } |
43 | 43 | ||
44 | do_install() { | 44 | do_install() { |