cgit/cgit-optflags.diff
Andreas Stieger ed042c7bcd Accepting request 305288 from home:jengelh:branches:devel:tools:scm
- Update to new upstream release 0.11.2
* addition of a Lua scripting engine
* fine-grained authentication support through the new Lua
  scripting system
* support for the "rawdiff" command was added
* sendfile() is now used when available (Linux systems) instead
  of a loop of read() and write(). This should significantly
  increase performance for high volume sites which make heavy use
  of the caching feature, as it saves copies to and from
  user-space.
* Caching granularity is now improved with the introduction of
  the cache-snapshot-ttl option, which allows configuration of
  the ttl for tarball and zip snapshots of repositories.
* When filtering in the index, make the sorting links point to
  the same filtered page of results
* Take into account leading slashes when comptuing links

OBS-URL: https://build.opensuse.org/request/show/305288
OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/cgit?expand=0&rev=21
2015-05-11 19:15:08 +00:00

17 lines
590 B
Diff

---
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)"'