diff options
context:
space:
mode:
Diffstat (limited to 'source')
-rw-r--r--source/cgit.mk4
1 file changed, 4 insertions, 0 deletions
diff --git a/source/cgit.mk b/source/cgit.mk
index 7852b99..eb8790c 100644
--- a/source/cgit.mk
+++ b/source/cgit.mk
@@ -41,6 +41,10 @@ CGIT_CFLAGS += -DCGIT_CONFIG='"$(CGIT_CONFIG)"'
CGIT_CFLAGS += -DCGIT_SCRIPT_NAME='"$(CGIT_SCRIPT_NAME)"'
CGIT_CFLAGS += -DCGIT_CACHE_ROOT='"$(CACHE_ROOT)"'
+# Reaches only the cgit objects, so a caller can tighten the build (CI passes
+# -Werror) without holding git's own sources to the same standard.
+CGIT_CFLAGS += $(CGIT_EXTRA_CFLAGS)
+
PKG_CONFIG ?= pkg-config
ifdef NO_C99_FORMAT