1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-12 10:04:14 +02:00

Remove Intel-specific optimization from C library build flags.

Contributed by Adrian Vondendriesch.
This commit is contained in:
Adrian Vondendriesch 2017-01-30 17:06:35 -05:00 committed by David Steele
parent eb1a1e5308
commit 9b92edddbe
2 changed files with 9 additions and 1 deletions

View File

@ -272,6 +272,14 @@
<release-item>
<p>Reduced the likelihood of torn pages causing a false positive in page checksums by filtering on start backup LSN.</p>
</release-item>
<release-item>
<release-item-contributor-list>
<release-item-contributor id="vondendriesch.adrian"/>
</release-item-contributor-list>
<p>Remove Intel-specific optimization from C library build flags.</p>
</release-item>
</release-refactor-list>
</release-core-list>

View File

@ -12,7 +12,7 @@ WriteMakefile
NAME => 'pgBackRest::LibC',
VERSION_FROM => 'lib/pgBackRest/LibC.pm', # finds $VERSION, requires EU::MM from perl >= 5.5
AUTHOR => 'David Steele <david@pgbackrest.org>',
CCFLAGS => '-std=c99 -msse4.1 -funroll-loops -ftree-vectorize -ftree-vectorizer-verbose=2',
CCFLAGS => '-std=c99 -funroll-loops -ftree-vectorize -ftree-vectorizer-verbose=2 $(CFLAGS)',
LIBS => [''], # e.g., '-lm'
DEFINE => '', # e.g., '-DHAVE_SOMETHING'
INC => '-I.', # e.g., '-I. -I/usr/include/other'