pgbackrest.git / summary / log / commit / refs

commit    f6e9bb081963932b4a35e6fd6c01ac2a523195f1
Author:   David Steele <david@pgmasters.net>
Date:     Thu Mar 19 23:30:09 2020 +0000

    Remove obsolete -O2 option for Fedora 30 unit test builds.
    
    For some reason gcc9 would not do -O0 builds in combination with one of the options that libperl required.  Now that libperl is gone this exception is no longer required.


test/lib/pgBackRestTest/Common/JobTest.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/lib/pgBackRestTest/Common/JobTest.pm b/test/lib/pgBackRestTest/Common/JobTest.pm index 6a750740e..d108b4e5d 100644 --- a/test/lib/pgBackRestTest/Common/JobTest.pm +++ b/test/lib/pgBackRestTest/Common/JobTest.pm @@ -470,7 +470,7 @@ sub run # Flags used to build test.c my $strTestFlags = ($self->{bDebug} ? '-DDEBUG_TEST_TRACE ' : '') . - ($self->{oTest}->{&TEST_VM} eq VM_F30 ? '-O2' : '-O0') . + '-O0' . ($self->{oTest}->{&TEST_VM} ne VM_U12 ? ' -ftree-coalesce-vars' : '') . (vmCoverageC($self->{oTest}->{&TEST_VM}) && $self->{bCoverageUnit} ? ' -fprofile-arcs -ftest-coverage' : '') . [parent: 2241524c0bdc]