gnu: libgit2: Enable SHA-1 collision detection.

* gnu/packages/version-control.scm (libgit2)[arguments]: Enable '-DUSE_SHA1DC'
in #:configure-flags.
This commit is contained in:
Leo Famulari 2017-07-31 18:56:44 -04:00
parent befb2c0e6e
commit 3d0fbd3c2f
No known key found for this signature in database
GPG key ID: 2646FA30BACA7F08

View file

@ -347,7 +347,8 @@ (define-public libgit2
(build-system cmake-build-system)
(outputs '("out" "debug"))
(arguments
`(#:phases
`(#:configure-flags '("-DUSE_SHA1DC=ON") ; SHA-1 collision detection
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'fix-hardcoded-paths
(lambda _