mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
proj: fix 32 bit build (#9581)
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user