proj: fix 32 bit build (#9581)

This commit is contained in:
augiedoggie
2023-10-05 19:14:30 -06:00
committed by GitHub
parent 59b33e6b78
commit 45a073a553

View File

@@ -11,10 +11,9 @@ CHECKSUM_SHA256="91a3695a004ea28db0448a34460bed4cc3b130e5c7d74339ec999efdab0e547
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
if [ "$targetArchitecture" != x86_gcc2 ]; then
commandSuffix=$secondaryArchSuffix
commandBinDir=$binDir
else
commandSuffix=$secondaryArchSuffix
commandBinDir=$binDir
if [ "$targetArchitecture" = x86_gcc2 ]; then
commandSuffix=
commandBinDir=$prefix/bin
fi
@@ -92,8 +91,8 @@ BUILD()
{
cmake -B build -S . -DCMAKE_BUILD_TYPE=Release \
$cmakeDirArgs \
-DBINDIR=$commandBinDir \
-DDOCDIR=$docDir
-DCMAKE_INSTALL_BINDIR=$commandBinDir
make -C build $jobArgs
}