mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: torsocks: Fix build with gcc-14.
* gnu/packages/tor.scm (torsocks)[arguments]: Use G-Expressions. Add CFLAGS to #:configure-flags to relax gcc-14's strictness. Change-Id: I57a955a49665cd37208d5760a8d4c745d15c866b
This commit is contained in:
parent
1308ce47c9
commit
d1f5b8e66c
1 changed files with 10 additions and 7 deletions
|
@ -15,6 +15,7 @@
|
||||||
;;; Copyright © 2022 Jim Newsome <jnewsome@torproject.org>
|
;;; Copyright © 2022 Jim Newsome <jnewsome@torproject.org>
|
||||||
;;; Copyright © 2025 Danial Behzadi <dani.behzi@ubuntu.com>
|
;;; Copyright © 2025 Danial Behzadi <dani.behzi@ubuntu.com>
|
||||||
;;; Copyright © 2025 Sharlatan Hellseher <sharlatanus@gmail.com>
|
;;; Copyright © 2025 Sharlatan Hellseher <sharlatanus@gmail.com>
|
||||||
|
;;; Copyright © 2024 Janneke Nieuwenhuizen <janneke@gnu.org>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -185,8 +186,10 @@ This package only provides a client to the Tor Network.")))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list autoconf automake libtool))
|
(list autoconf automake libtool))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
(list
|
||||||
(modify-phases %standard-phases
|
#:configure-flags
|
||||||
|
#~'("CFLAGS=-g -O2 -Wno-error=implicit-function-declaration")
|
||||||
|
#:phases #~(modify-phases %standard-phases
|
||||||
(add-after 'build 'absolutize
|
(add-after 'build 'absolutize
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(substitute* "src/bin/torsocks"
|
(substitute* "src/bin/torsocks"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue