You've already forked pgbackrest
							
							
				mirror of
				https://github.com/pgbackrest/pgbackrest.git
				synced 2025-10-30 23:37:45 +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 | ||||
|                 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' : '') . | ||||
|   | ||||
		Reference in New Issue
	
	Block a user