diff mbox series

[meta-oe] procmail: Add -std=gnu17 to fix error of do_compile

Message ID 20260522090732.486-1-wangmy@fujitsu.com
State New
Headers show
Series [meta-oe] procmail: Add -std=gnu17 to fix error of do_compile | expand

Commit Message

Wang Mingyu May 22, 2026, 9:07 a.m. UTC
From: Wang Mingyu <wangmy@fujitsu.com>

Without the option , the command  procmail|lockfile|formail will not be installed to target.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
---
 meta-oe/recipes-support/procmail/procmail_3.24.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta-oe/recipes-support/procmail/procmail_3.24.bb b/meta-oe/recipes-support/procmail/procmail_3.24.bb
index cb3775ebf6..6767f87db6 100644
--- a/meta-oe/recipes-support/procmail/procmail_3.24.bb
+++ b/meta-oe/recipes-support/procmail/procmail_3.24.bb
@@ -32,7 +32,7 @@  do_configure() {
 }
 
 do_compile() {
-    oe_runmake -i CFLAGS="$TARGET_CFLAGS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 LOCKINGTEST=/tmp" LDFLAGS0="${LDFLAGS}" LOCKINGTEST=100
+    oe_runmake -i CFLAGS="$TARGET_CFLAGS -std=gnu17 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 LOCKINGTEST=/tmp" LDFLAGS0="${LDFLAGS}" LOCKINGTEST=100
 }
 
 do_install() {