mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-18 21:46:35 +01:00
gnu: vpnc-scripts: Fix build with gcc-14.
* gnu/packages/vpn.scm (vpnc-scripts)[arguments]: In phase "build", relax gcc-14's strictness. Change-Id: I993326cfd1ed11ad8efaefdd9ca527e67f78c42b
This commit is contained in:
parent
d9a0c0769c
commit
c2287dfc7a
1 changed files with 4 additions and 1 deletions
|
@ -24,6 +24,7 @@
|
|||
;;; Copyright © 2022 Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
|
||||
;;; Copyright © 2022 Arun Isaac <arunisaac@systemreboot.net>
|
||||
;;; Copyright © 2024 Allan Adair <allan@adair.no>
|
||||
;;; Copyright © 2025 Janneke Nieuwenhuizen <janneke@gnu.org>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
|
@ -669,7 +670,9 @@ (define-public vpnc-scripts
|
|||
(delete 'configure) ; no configure script
|
||||
(replace 'build
|
||||
(lambda _
|
||||
(invoke "gcc" "-o" "netunshare" "netunshare.c")))
|
||||
(invoke "gcc" "-g" "-O2"
|
||||
"-Wno-error=implicit-function-declaration"
|
||||
"-o" "netunshare" "netunshare.c")))
|
||||
(replace 'install
|
||||
;; There is no Makefile; manually install the relevant files.
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
|
|
Loading…
Reference in a new issue