aboutsummaryrefslogtreecommitdiff
path: root/core/git/build
diff options
context:
space:
mode:
Diffstat (limited to 'core/git/build')
-rwxr-xr-xcore/git/build5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/git/build b/core/git/build
index c129008c..0a8192a0 100755
--- a/core/git/build
+++ b/core/git/build
@@ -1,5 +1,9 @@
#!/bin/sh -e
+export CFLAGS="$CFLAGS -fPIC"
+
+patch -p1 < git-tiny.patch
+
cat > config.mak <<EOF
NO_GETTEXT=YesPlease
NO_SVN_TESTS=YesPlease
@@ -8,6 +12,7 @@ NO_EXPAT=YesPlease
NO_NSEC=YesPlease
NO_PYTHON=YesPlease
NO_PERL=YesPlease
+NO_SVN_TESTS=YesPlease
NO_SYS_POLL_H=1
NO_CROSS_DIRECTORY_HARDLINKS=1
NO_INSTALL_HARDLINKS=1