meson: build checksums with extra optimization flags.

Jeff Davis <jdavis@postgresql.org>

Commit: 2de24ca6ca512053d821e14f2203cb0b28d7259e
Author: Jeff Davis <jdavis@postgresql.org>
Date: 2025-09-09T23:06:30Z
Releases: 16.11
meson: build checksums with extra optimization flags.

Use -funroll-loops and -ftree-vectorize when building checksum.c to
match what autoconf does.

Missed backport of 9af672bcb2, noticed by Nathan Bossart.

Reported-by: Nathan Bossart <nathandbossart@gmail.com>
Discussion: https://postgr.es/m/a81f2f7ef34afc24a89c613671ea017e3651329c.camel@j-davis.com
Reviewed-by: Andres Freund <andres@anarazel.de>
Backpatch-through: 16

Files

PathChange+/−
src/backend/storage/page/meson.build modified +9 −1

Discussion