diff options
author | Cem Keylan <cem@ckyln.com> | 2020-12-30 23:01:07 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2020-12-30 23:01:07 +0300 |
commit | ddf7f955a7ebb1d0e0fc3fa36e79c649d88864b6 (patch) | |
tree | b729a568b37f502a025b99021b5f43afc6e04d95 /core/git | |
parent | f7f7491fc3e1e2e455b63ba65988141cba07f12b (diff) | |
download | repository-ddf7f955a7ebb1d0e0fc3fa36e79c649d88864b6.tar.gz |
git: fix cross compilation
Diffstat (limited to 'core/git')
-rwxr-xr-x | core/git/build | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core/git/build b/core/git/build index a0228ee5..eb336bb3 100755 --- a/core/git/build +++ b/core/git/build @@ -2,6 +2,8 @@ sed -i '/^\#include.*openssl.*\.h/d' git-compat-util.h +[ "$CPT_CROSS_TRIPLET" ] && CC=$CPT_CROSS_TRIPLET-cc + cat > config.mak <<EOF NO_GETTEXT=YesPlease NO_SVN_TESTS=YesPlease @@ -18,8 +20,7 @@ EOF export LDFLAGS="$LDFLAGS -static" -./configure \ - --prefix=/usr \ +cpt-configure \ --with-curl \ ac_cv_snprintf_returns_bogus=no \ ac_cv_fread_reads_directories=yes |