mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-23 21:34:18 +08:00
Fix ARCH
This commit is contained in:
parent
0a2351722f
commit
80a76fab89
@ -18,12 +18,13 @@ dependencies = [
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
export PYTHONDONTWRITEBYTECODE=1
|
||||
ARCH="${TARGET%%-*}"
|
||||
|
||||
COOKBOOK_CONFIGURE_FLAGS=(
|
||||
--prefix=/usr
|
||||
--disable-ipv6
|
||||
--host=${GNU_TARGET}
|
||||
--build=x86_64
|
||||
--build=$ARCH
|
||||
--with-build-python
|
||||
# --with-openssl="${COOKBOOK_SYSROOT}/usr"
|
||||
--with-ensurepip=install
|
||||
|
||||
@ -18,6 +18,7 @@ dependencies = [
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
export PYTHONDONTWRITEBYTECODE=1
|
||||
ARCH="${TARGET%%-*}"
|
||||
|
||||
# Python cross-compilation requires the same Python version on the build machine
|
||||
BUILDMACH_TARGET="$(gcc -dumpmachine)"
|
||||
@ -46,8 +47,8 @@ COOKBOOK_CONFIGURE_FLAGS=(
|
||||
--prefix=/usr
|
||||
--disable-ipv6
|
||||
--host=${GNU_TARGET}
|
||||
--build=x86_64
|
||||
--with-openssl="${COOKBOOK_SYSROOT}/usr"
|
||||
--build=$ARCH
|
||||
# --with-openssl="${COOKBOOK_SYSROOT}/usr"
|
||||
--with-ensurepip=install
|
||||
ac_cv_file__dev_ptmx=no
|
||||
ac_cv_file__dev_ptc=no
|
||||
|
||||
Loading…
Reference in New Issue
Block a user