From 79962eecd68f6a8cf6df37ddcc08b7600e0aae8f Mon Sep 17 00:00:00 2001 From: Andrew Dunstan Date: Fri, 12 Mar 2010 14:51:47 +0000 Subject: [PATCH] changes for thread safety --- cgi-bin/show_status.pl | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cgi-bin/show_status.pl b/cgi-bin/show_status.pl index 1c36337..f0b6f17 100755 --- a/cgi-bin/show_status.pl +++ b/cgi-bin/show_status.pl @@ -62,6 +62,12 @@ while (my $row = $sth->fetchrow_hashref) $row->{build_flags} .= " --enable-integer-datetimes " unless ($row->{build_flags} =~ /--(en|dis)able-integer-datetimes/); } + # enable-thread-safety is now the default + if ($row->{branch} eq 'HEAD' || $row->{branch} gt 'REL8_5_STABLE') + { + $row->{build_flags} .= " --enable-thread-safety " + unless ($row->{build_flags} =~ /--(en|dis)able-thread-safety/); + } $row->{build_flags} =~ s/--((enable|with)-)?//g; $row->{build_flags} =~ s/libxml/xml/; $row->{build_flags} =~ s/\S+=\S+//g; -- 2.30.2