aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcore/git/build5
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