Skip to content

add cross-compilation support for git #142

@mahaase

Description

@mahaase

buildTools: [target-toolchain, curl]
buildVars: [AUTOCONF_HOST, PKG_VERSION]
buildScript: |
mkdir -p install
tar -xf $1/git-${PKG_VERSION}.tar.xz
pushd git-${PKG_VERSION}
./configure --host=${AUTOCONF_HOST} \
--prefix=/usr \
--with-curl=${BOB_DEP_PATHS[net::curl-dev]}/usr \
--without-python \
--without-expat
makeParallel LIB_4_CRYPTO="$(pkg-config --libs libssl libcrypto)"
make DESTDIR=${PWD}/../install install
popd

currently it is not possible to cross-compile git, because of missing --build argument, we should add this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions