meson: build checksums with extra optimization flags.

Jeff Davis <jdavis@postgresql.org>

Commit: e25453a3631f9da1f01c119e5841e9869c287da7
Author: Jeff Davis <jdavis@postgresql.org>
Date: 2025-09-09T23:04:23Z
Releases: 17.7
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