1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-09-16 09:06:18 +02:00

Add -g accidentally removed in 4e8d469f.

The tests all run fine without debug info but gdb and valgrind are a lot less useful without it.
This commit is contained in:
David Steele
2021-02-02 17:05:55 -05:00
parent 4b46115345
commit 9154d73030

View File

@@ -289,7 +289,7 @@ sub run
# Generate Makefile.param
my $strMakefileParam =
"CFLAGS =" .
" \\\n\t-Werror -Wfatal-errors" .
" \\\n\t-Werror -Wfatal-errors -g" .
($self->{bProfile} ? " \\\n\t-pg" : '') .
(vmArchBits($self->{oTest}->{&TEST_VM}) == 32 ? " \\\n\t-D_FILE_OFFSET_BITS=64" : '') .
($self->{bDebug} ? '' : " \\\n\t-DNDEBUG") .