Browse Source

Force build to complete under aarch64-linux systems

Signed-off-by: falkTX <falktx@falktx.com>
main
falkTX 2 months ago
parent
commit
6089f744f5
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
3 changed files with 6 additions and 4 deletions
  1. +1
    -1
      bootstrap-jack2.sh
  2. +3
    -1
      local.env
  3. +2
    -2
      setup/functions.sh

+ 1
- 1
bootstrap-jack2.sh View File

@@ -69,7 +69,7 @@ function build_custom_db() {
extraconfrules+=" --with-mutex=x86_64/gcc-assembly db_cv_atomic=x86/gcc-assembly"
fi
if [ "${WIN32}" -eq 1 ]; then
extraconfrules+=" --enable-mingw"
extraconfrules+=" --enable-mingw ac_cv_build=$(uname -m)-linux-gnu ac_cv_host=${TOOLCHAIN_PREFIX}"
fi

_prebuild "${name}" "${pkgdir}"


+ 3
- 1
local.env View File

@@ -111,7 +111,9 @@ fi

alias cmake="$CMAKE"

echo "Success! Environment is now ready to build stuff"
if [ -z "${PAWPAW_QUIET}" ]; then
echo "Success! Environment is now ready to build stuff"
fi

fi



+ 2
- 2
setup/functions.sh View File

@@ -207,9 +207,9 @@ function build_autoconf() {
local pkgdir="${PAWPAW_BUILDDIR}/${name}-${version}"

if [ "${WASM}" -eq 1 ]; then
extraconfrules="--host=x86_64-linux-gnu ${extraconfrules}"
extraconfrules="--host=$(uname -m)-linux-gnu ${extraconfrules}"
elif [ -n "${TOOLCHAIN_PREFIX}" ]; then
extraconfrules="--host=${TOOLCHAIN_PREFIX} ac_cv_host=${TOOLCHAIN_PREFIX} ${extraconfrules}"
extraconfrules="--host=${TOOLCHAIN_PREFIX} ac_cv_build=$(uname -m)-linux-gnu ac_cv_host=${TOOLCHAIN_PREFIX} ${extraconfrules}"
fi

_prebuild "${name}" "${pkgdir}"


Loading…
Cancel
Save