Skip to content

Commit

Permalink
Remove Intel-specific optimization from C library build flags.
Browse files Browse the repository at this point in the history
Contributed by Adrian Vondendriesch.
  • Loading branch information
disco-stu authored and dwsteele committed Jan 30, 2017
1 parent eb1a1e5 commit 9b92edd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions doc/xml/release.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down
2 changes: 1 addition & 1 deletion libc/Makefile.PL
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 9b92edd

Please sign in to comment.