Unverified Commit ae775c4a authored by lewo's avatar lewo Committed by GitHub
Browse files

postfix: fix build with gcc15 (#446085)

parents 94ae09d6 86f6c8c0
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -38,6 +38,9 @@ let
      "-DUSE_CYRUS_SASL"
      "-I${cyrus_sasl.dev}/include/sasl"
      "-DHAS_DB_BYPASS_MAKEDEFS_CHECK"
      # Fix build with gcc15, no upstream fix for stable releases:
      # https://www.mail-archive.com/postfix-devel@postfix.org/msg01270.html
      "-std=gnu17"
    ]
    ++ lib.optional withPgSQL "-DHAS_PGSQL"
    ++ lib.optionals withMySQL [