summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/tor.scm17
1 files changed, 10 insertions, 7 deletions
diff --git a/gnu/packages/tor.scm b/gnu/packages/tor.scm
index 2301fabc0c..f3044dc9e6 100644
--- a/gnu/packages/tor.scm
+++ b/gnu/packages/tor.scm
@@ -15,6 +15,7 @@
;;; Copyright © 2022 Jim Newsome <jnewsome@torproject.org>
;;; Copyright © 2025 Danial Behzadi <dani.behzi@ubuntu.com>
;;; Copyright © 2025 Sharlatan Hellseher <sharlatanus@gmail.com>
+;;; Copyright © 2024 Janneke Nieuwenhuizen <janneke@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -185,13 +186,15 @@ This package only provides a client to the Tor Network.")))
(native-inputs
(list autoconf automake libtool))
(arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-after 'build 'absolutize
- (lambda* (#:key inputs #:allow-other-keys)
- (substitute* "src/bin/torsocks"
- (("getcap=.*")
- (string-append "getcap=" (which "getcap") "\n"))))))))
+ (list
+ #:configure-flags
+ #~'("CFLAGS=-g -O2 -Wno-error=implicit-function-declaration")
+ #:phases #~(modify-phases %standard-phases
+ (add-after 'build 'absolutize
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "src/bin/torsocks"
+ (("getcap=.*")
+ (string-append "getcap=" (which "getcap") "\n"))))))))
(home-page "https://www.torproject.org/")
(synopsis "Transparently route an application's traffic through Tor")
(description