aboutsummaryrefslogtreecommitdiff
path: root/core/git/build
diff options
context:
space:
mode:
Diffstat (limited to 'core/git/build')
-rwxr-xr-xcore/git/build2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/git/build b/core/git/build
index 27003088..a0228ee5 100755
--- a/core/git/build
+++ b/core/git/build
@@ -42,7 +42,7 @@ for obj in http http-walker; do
done
# shellcheck disable=2086,2046
-"$CC" -static $CFLAGS -o "$1/usr/libexec/git-core/git-remote-http" remote-curl.c http.o http-walker.o libgit.a common-main.o xdiff/lib.a $(pkg-config --static --libs zlib libcurl)
+"$CC" $LDFLAGS $CFLAGS -o "$1/usr/libexec/git-core/git-remote-http" remote-curl.c http.o http-walker.o libgit.a common-main.o xdiff/lib.a $(pkg-config --static --libs zlib libcurl)
for remote in https ftp ftps; do
ln -sf git-remote-http "$1/usr/libexec/git-core/git-remote-$remote"