external/postgresql/ExternalProject_postgresql.mk |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 73ebc399dff6ff0b4280658754c66a9846af082e
Author:     Michael Stahl <[email protected]>
AuthorDate: Mon Nov 10 13:11:37 2025 +0100
Commit:     Michael Stahl <[email protected]>
CommitDate: Mon Nov 10 19:24:15 2025 +0100

    postgres: fix GCC 15.2.1 build
    
    Change-Id: I0c6740537dba0a616617212835676c068cac06f8
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193744
    Tested-by: allotropia jenkins <[email protected]>
    Reviewed-by: Michael Stahl <[email protected]>

diff --git a/external/postgresql/ExternalProject_postgresql.mk 
b/external/postgresql/ExternalProject_postgresql.mk
index 377f02c0174c..fa21e08ba0ac 100644
--- a/external/postgresql/ExternalProject_postgresql.mk
+++ b/external/postgresql/ExternalProject_postgresql.mk
@@ -71,7 +71,7 @@ $(call gb_ExternalProject_get_state_target,postgresql,build) :
                        $(if $(DISABLE_OPENSSL),,--with-openssl \
                                $(if $(WITH_GSSAPI),--with-gssapi)) \
                                $(if $(ENABLE_LDAP),,--with-ldap=no) \
-                       CFLAGS="-fPIC" \
+                       CFLAGS="-fPIC -std=c99" \
                        CPPFLAGS="$(postgresql_CPPFLAGS)" \
                        LDFLAGS="$(postgresql_LDFLAGS)" \
                        $(if $(ENABLE_LDAP),EXTRA_LDAP_LIBS="-llber -lssl3 
-lsmime3 -lnss3 -lnssutil3 -lplds4 -lplc4 -lnspr4") \

Reply via email to