postgresql, disable spinlocks for riscv64, try to fix building (#12843)

This commit is contained in:
Schrijvers Luc
2025-08-29 07:44:07 +02:00
committed by GitHub
parent 28acaec176
commit 91db75a361

View File

@@ -117,9 +117,13 @@ BUILD_PREREQUIRES="
cmd:pkg_config$secondaryArchSuffix
"
if [ "$targetArchitecture" = riscv64 ]; then
spinlocks="--disable-spinlocks"
fi
BUILD()
{
CFLAGS="-D_BSD_SOURCE -O2" runConfigure ./configure
CFLAGS="-D_BSD_SOURCE -O2" runConfigure ./configure $spinlocks
make $jobArgs
}