Skip to content

Commit

Permalink
Remove obsolete -O2 option for Fedora 30 unit test builds.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
dwsteele committed Mar 19, 2020
1 parent 2241524 commit f6e9bb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/lib/pgBackRestTest/Common/JobTest.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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' : '') .
Expand Down

0 comments on commit f6e9bb0

Please sign in to comment.