summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Jansa <martin.jansa@gmail.com>2025-04-26 13:56:19 +0200
committerKhem Raj <raj.khem@gmail.com>2025-04-26 10:31:27 -0700
commite984a3504f8b77e2a2ec852379adbace619d7c51 (patch)
treeaf31a8f1a06f8312f5403b4d0054340efcf720cd
parent181fea00cb5ef91971a2796161ceb7c2c4d73c91 (diff)
downloadmeta-openembedded-e984a3504f8b77e2a2ec852379adbace619d7c51.tar.gz
postfix: use gnu17 for now
* as recommended by postfix author in: https://marc.info/?l=postfix-users&m=173542420611213 Signed-off-by: Martin Jansa <martin.jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-networking/recipes-daemons/postfix/postfix_3.10.1.bb4
1 files changed, 4 insertions, 0 deletions
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"
87# ignore the OPTS="CC=$CC" in Makefile it will not use the CC=$CC $CCARGS 87# ignore the OPTS="CC=$CC" in Makefile it will not use the CC=$CC $CCARGS
88EXTRA_OEMAKE += "OPT= DEBUG= OPTS= " 88EXTRA_OEMAKE += "OPT= DEBUG= OPTS= "
89 89
90# use gnu17 for now as recommended in:
91# https://marc.info/?l=postfix-users&m=173542420611213
92CFLAGS += "-std=gnu17"
93
90do_compile () { 94do_compile () {
91 unset CFLAGS CPPFLAGS CXXFLAGS 95 unset CFLAGS CPPFLAGS CXXFLAGS
92 local native_build 96 local native_build