You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-07-15 01:04:37 +02:00
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.
This commit is contained in:
@ -470,7 +470,7 @@ sub run
|
|||||||
# Flags used to build test.c
|
# Flags used to build test.c
|
||||||
my $strTestFlags =
|
my $strTestFlags =
|
||||||
($self->{bDebug} ? '-DDEBUG_TEST_TRACE ' : '') .
|
($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' : '') .
|
($self->{oTest}->{&TEST_VM} ne VM_U12 ? ' -ftree-coalesce-vars' : '') .
|
||||||
(vmCoverageC($self->{oTest}->{&TEST_VM}) && $self->{bCoverageUnit} ?
|
(vmCoverageC($self->{oTest}->{&TEST_VM}) && $self->{bCoverageUnit} ?
|
||||||
' -fprofile-arcs -ftest-coverage' : '') .
|
' -fprofile-arcs -ftest-coverage' : '') .
|
||||||
|
Reference in New Issue
Block a user