mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-05-27 11:32:21 +02: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:
committed by
Andreas Enge
parent
6f1661f802
commit
bfa45f122c
@@ -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.
|
||||
;;;
|
||||
@@ -670,7 +671,9 @@ Only \"Universal TUN/TAP device driver support\" is needed in the kernel.")
|
||||
(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)
|
||||
|
||||
Reference in New Issue
Block a user