mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
postgresql, disable spinlocks for riscv64, try to fix building (#12843)
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user