Skip to content

Commit b3e2261

Browse files
committed
work around db5.3 FTBFS with gcc-15 #1107059
1 parent 74b18ea commit b3e2261

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

bootstrap.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -821,6 +821,14 @@ patch_cyrus_sasl2() {
821821

822822
add_automatic dash
823823
add_automatic db-defaults
824+
825+
buildenv_db5_3() {
826+
test "$GCC_VER" -lt 15 && return 0
827+
echo "working around FTBFS with gcc-15 #1107059"
828+
export DEB_CFLAGS_APPEND="${DEB_CFLAGS_APPEND:-} -std=gnu17"
829+
export DEB_CFLAGS_FOR_BUILD_APPEND="${DEB_CFLAGS_FOR_BUILD_APPEND:-} -std=gnu17"
830+
}
831+
824832
add_automatic debianutils
825833

826834
add_automatic diffutils

0 commit comments

Comments
 (0)