gnu: tor: Add hardening configure-flags.

* gnu/packages/tor.scm (tor)[arguments]: Add '--enable-expensive-hardening',
'enable-gcc-hardening', '--enable-linker-hardening' to configure-flags.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
ng0 2017-01-25 09:31:07 +00:00 committed by Ludovic Courtès
parent f18eded8ec
commit 249eb38965
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -48,6 +48,10 @@ (define-public tor
(base32
"0hqdk5p6dw4bpn7c8gmhyi8jjkhc37112pfw5nx4gl0g4lmmscik"))))
(build-system gnu-build-system)
(arguments
`(#:configure-flags (list "--enable-expensive-hardening"
"--enable-gcc-hardening"
"--enable-linker-hardening")))
(native-inputs
`(("python" ,python-2))) ; for tests
(inputs