Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: haikuports/haikuports.cross
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: edc99bcbb38e
Choose a base ref
...
head repository: haikuports/haikuports.cross
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: d7624c08389a
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Aug 2, 2021

  1. Copy the full SHA
    d7624c0 View commit details
Showing with 13 additions and 3 deletions.
  1. +13 −3 dev-lang/python_bootstrap/python_bootstrap-3.9.1.recipe
16 changes: 13 additions & 3 deletions dev-lang/python_bootstrap/python_bootstrap-3.9.1.recipe
Original file line number Diff line number Diff line change
@@ -77,22 +77,32 @@ BUILD()
libtoolize --force --copy --install
aclocal
autoconf
mkdir -p hostpython
# Build a small host python needed for crosscompilation
cd hostpython
CFLAGS="-pipe $CFLAGS" ../configure
make platform
cd ..

export PATH="$(pwd)/hostpython:$PATH"
export PYTHONPATH="$(pwd)/hostpython"
runConfigure ./configure \
--target=$targetMachineTriple \
--build=$buildMachineTriple \
--enable-optimizations \
--build=$buildMachineTriple \
--host=$targetMachineTriple \
--enable-shared \
--with-ensurepip=no \
--with-system-ffi \
--with-system-expat \
ac_cv_file__dev_ptmx=yes \
ac_cv_file__dev_ptc=no \
ac_cv_buggy_getaddrinfo=no
make

}

INSTALL()
{
export PATH="$(pwd)/hostpython:$PATH"
make DESTDIR=$installDestDir install
prepareInstalledDevelLibs libpython3
}