diff options
| -rw-r--r-- | meta-networking/recipes-daemons/postfix/postfix_3.10.1.bb | 4 |
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 |
| 88 | EXTRA_OEMAKE += "OPT= DEBUG= OPTS= " | 88 | EXTRA_OEMAKE += "OPT= DEBUG= OPTS= " |
| 89 | 89 | ||
| 90 | # use gnu17 for now as recommended in: | ||
| 91 | # https://marc.info/?l=postfix-users&m=173542420611213 | ||
| 92 | CFLAGS += "-std=gnu17" | ||
| 93 | |||
| 90 | do_compile () { | 94 | do_compile () { |
| 91 | unset CFLAGS CPPFLAGS CXXFLAGS | 95 | unset CFLAGS CPPFLAGS CXXFLAGS |
| 92 | local native_build | 96 | local native_build |
