---
 cgit.mk |    1 +
 1 file changed, 1 insertion(+)

Index: cgit-0.11.2/cgit.mk
===================================================================
--- cgit-0.11.2.orig/cgit.mk
+++ cgit-0.11.2/cgit.mk
@@ -17,6 +17,7 @@ $(CGIT_PREFIX)VERSION: force-version
 
 # CGIT_CFLAGS is a separate variable so that we can track it separately
 # and avoid rebuilding all of Git when these variables change.
+CGIT_CFLAGS += $(RPM_OPT_FLAGS)
 CGIT_CFLAGS += -DCGIT_CONFIG='"$(CGIT_CONFIG)"'
 CGIT_CFLAGS += -DCGIT_SCRIPT_NAME='"$(CGIT_SCRIPT_NAME)"'
 CGIT_CFLAGS += -DCGIT_CACHE_ROOT='"$(CACHE_ROOT)"'