diff options
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile17
1 file changed, 9 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index fe65cba..7c406cc 100644
--- a/Makefile
+++ b/Makefile
@@ -61,15 +61,16 @@ export CGIT_DATA_PATH CGIT_CONFIG CACHE_ROOT
all: cgit
-# NO_RUST keeps Cargo out of the build. Git 2.55 inverted the flag that used to
-# be WITH_RUST, so Rust is now compiled in unless it is turned off, and leaving
+# NO_GETTEXT and NO_TCLTK leave out Git's translations and its Tcl tools, none
+# of which cgit uses, so the build needs no libintl, msgfmt or tclsh. NO_RUST
+# keeps Cargo out of the build. Git 2.55 inverted the flag that used to be
+# WITH_RUST, so Rust is now compiled in unless it is turned off, and leaving
# this out would quietly make Cargo a build requirement. Git 3.0 drops the
-# choice entirely, at which point this stops working and Rust becomes
-# mandatory. Git's own build defaults prefix to $HOME and compiles it in as
-# its fallback runtime prefix, so without the last flag every binary carries
-# the home directory of whoever built it and no two builders get the same
-# bytes.
-GIT_BUILD_FLAGS = NO_CURL=1 NO_OPENSSL=1 NO_RUST=1 prefix='$(prefix)'
+# choice entirely, at which point this stops working and Rust becomes mandatory.
+# Git's own build defaults prefix to $HOME and compiles it in as its fallback
+# runtime prefix, so without the last flag every binary carries the home
+# directory of whoever built it and no two builders get the same bytes.
+GIT_BUILD_FLAGS = NO_CURL=1 NO_GETTEXT=1 NO_OPENSSL=1 NO_RUST=1 NO_TCLTK=1 prefix='$(prefix)'
# Apple's linker otherwise stamps each object's mtime into the debug map, so
# two builds of the same sources would differ.