]> Cypherpunks repositories - bass.git/commitdiff
Explicit CFLAGS/LDFLAGS while building
authorSergey Matveev <stargrave@stargrave.org>
Thu, 18 Jul 2024 08:54:06 +0000 (11:54 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Thu, 18 Jul 2024 08:54:06 +0000 (11:54 +0300)
build/skel/devel/git-full-2.45.2.do

index ac5ceedad61638844139442aa92ed7be20e99af92d986ab4a17483a2cb263716..35a89df296d7aac4caff2a27e3887acfd051d71e75b0752a8bdde7309bd5ae34 100644 (file)
@@ -27,8 +27,13 @@ $TAR xf "$DISTFILES"/git-$ver.tar.xz
 
 cd git-$ver
 export USE_LIBPCRE=1 BLK_SHA1=1 NETTLE_SHA256=1 NO_TCLTK=1
-gmake -j$MAKE_JOBS prefix="$SKELBINS"/$ARCH/$NAME-$hsh all doc >&2
-gmake prefix="$SKELBINS"/$ARCH/$NAME-$hsh install install-doc >&2
+gmake -j$MAKE_JOBS \
+    prefix="$SKELBINS"/$ARCH/$NAME-$hsh \
+    CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \
+    all doc >&2
+gmake prefix="$SKELBINS"/$ARCH/$NAME-$hsh \
+    CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \
+    install install-doc >&2
 cp contrib/git-jump/git-jump "$SKELBINS"/$ARCH/$NAME-$hsh/bin
 cd contrib/diff-highlight
 gmake >&2