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>
This commit is contained in:
Martin Jansa 2025-04-26 13:56:19 +02:00 committed by Khem Raj
parent 181fea00cb
commit e984a3504f
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -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