meson: build checksums with extra optimization flags.
authorJeff Davis <jdavis@postgresql.org>
Tue, 9 Sep 2025 23:04:04 +0000 (16:04 -0700)
committerJeff Davis <jdavis@postgresql.org>
Tue, 9 Sep 2025 23:06:30 +0000 (16:06 -0700)
commit2de24ca6ca512053d821e14f2203cb0b28d7259e
treeb3179dcc948fa5b9677b98e06c16bd2c2078f8b7
parent12f57681c79bd3e8283bfb223dadba0efbe0b37e
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
src/backend/storage/page/meson.build