You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2026-05-22 10:15:16 +02:00
Explicitly compile with Posix 2001 standard.
This standard was being selectively applied in modules that needed it. Instead, apply the standard to all compilation for consistency.
This commit is contained in:
@@ -383,7 +383,8 @@ sub run
|
||||
|
||||
# Flags that are common to all builds
|
||||
my $strCommonFlags =
|
||||
'-I. -Itest -std=c99 -fPIC -g -Wno-clobbered `perl -MExtUtils::Embed -e ccopts` -DWITH_PERL' .
|
||||
'-I. -Itest -std=c99 -fPIC -g -Wno-clobbered -D_POSIX_C_SOURCE=200112L' .
|
||||
' `perl -MExtUtils::Embed -e ccopts` -DWITH_PERL' .
|
||||
' `xml2-config --cflags`' . ($self->{bProfile} ? " -pg" : '') .
|
||||
($self->{oTest}->{&TEST_DEBUG_UNIT_SUPPRESS} ? '' : " -DDEBUG_UNIT") .
|
||||
(vmWithBackTrace($self->{oTest}->{&TEST_VM}) && $self->{bBackTrace} ? ' -DWITH_BACKTRACE' : '') .
|
||||
|
||||
Reference in New Issue
Block a user