From e984a3504f8b77e2a2ec852379adbace619d7c51 Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Sat, 26 Apr 2025 13:56:19 +0200 Subject: [PATCH] postfix: use gnu17 for now * as recommended by postfix author in: https://marc.info/?l=postfix-users&m=173542420611213 Signed-off-by: Martin Jansa Signed-off-by: Khem Raj --- meta-networking/recipes-daemons/postfix/postfix_3.10.1.bb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meta-networking/recipes-daemons/postfix/postfix_3.10.1.bb b/meta-networking/recipes-daemons/postfix/postfix_3.10.1.bb index 89502d5044..a9a2163a2f 100644 --- a/meta-networking/recipes-daemons/postfix/postfix_3.10.1.bb +++ b/meta-networking/recipes-daemons/postfix/postfix_3.10.1.bb @@ -87,6 +87,10 @@ export POSTCONF = "${STAGING_DIR_NATIVE}${sbindir_native}/postconf" # ignore the OPTS="CC=$CC" in Makefile it will not use the CC=$CC $CCARGS EXTRA_OEMAKE += "OPT= DEBUG= OPTS= " +# use gnu17 for now as recommended in: +# https://marc.info/?l=postfix-users&m=173542420611213 +CFLAGS += "-std=gnu17" + do_compile () { unset CFLAGS CPPFLAGS CXXFLAGS local native_build