Skip to content

Commit

Permalink
git: statically link
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanaraps committed Sep 30, 2020
1 parent 121c9db commit 873153e
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 120 deletions.
4 changes: 1 addition & 3 deletions core/git/build
@@ -1,8 +1,6 @@
#!/bin/sh -e

export CFLAGS="$CFLAGS -fPIC"

patch -p1 < git-tiny.patch
export CFLAGS="$CFLAGS -fPIC -static"

cat > config.mak <<EOF
NO_GETTEXT=YesPlease
Expand Down
5 changes: 2 additions & 3 deletions core/git/checksums
@@ -1,3 +1,2 @@
dfa5d1a253aa451465478fe45c6a40ab8605b340fdb4c4e80b16d7f87708439d git-2.28.0.tar.xz
665a7fa41f9a39248e48422dcf533e1a0133a4a6eddfc25ee55e28e42fc07cb7 git-manpages-2.28.0.tar.xz
31ce399971c407e461f1d4b9cada684b48113ad2b296a2860bf2393314e862a4 git-tiny.patch
dfa5d1a253aa451465478fe45c6a40ab8605b340fdb4c4e80b16d7f87708439d
665a7fa41f9a39248e48422dcf533e1a0133a4a6eddfc25ee55e28e42fc07cb7
6 changes: 3 additions & 3 deletions core/git/depends
@@ -1,3 +1,3 @@
curl
libressl
zlib
curl make
libressl make
zlib make
109 changes: 0 additions & 109 deletions core/git/patches/git-tiny.patch

This file was deleted.

1 change: 0 additions & 1 deletion core/git/sources
@@ -1,3 +1,2 @@
https://mirrors.edge.kernel.org/pub/software/scm/git/git-2.28.0.tar.xz
https://mirrors.edge.kernel.org/pub/software/scm/git/git-manpages-2.28.0.tar.xz man
patches/git-tiny.patch
2 changes: 1 addition & 1 deletion core/git/version
@@ -1 +1 @@
2.28.0 1
2.28.0 2

0 comments on commit 873153e

Please sign in to comment.