summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorng0 <contact.ng0@cryptolab.net>2017-01-25 09:31:07 +0000
committerLudovic Courtès <ludo@gnu.org>2017-01-31 00:10:44 +0100
commit249eb38965242b020502414f584c43d4e2d0e54e (patch)
tree03dedb444121df0994b2000255a28bc512679a7f /gnu
parentf18eded8ec4df75444e4feaeb92b3cc1236c2253 (diff)
downloadguix-249eb38965242b020502414f584c43d4e2d0e54e.tar.gz
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>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/tor.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/packages/tor.scm b/gnu/packages/tor.scm
index c7f97ab1b4..ae8e59b70b 100644
--- a/gnu/packages/tor.scm
+++ b/gnu/packages/tor.scm
@@ -48,6 +48,10 @@
               (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