summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorJanneke Nieuwenhuizen <janneke@gnu.org>2025-01-02 14:28:33 +0100
committerAndreas Enge <andreas@enge.fr>2025-07-18 20:17:21 +0200
commitbfa45f122c13082fdf11e649d18363a929fce91d (patch)
tree2467bde9874ddd8cd3668c43867c5e5df1d75da2 /gnu
parent6f1661f80224d4a215eaff58f15ab4bd479a2f92 (diff)
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
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/vpn.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/packages/vpn.scm b/gnu/packages/vpn.scm
index 9cc63372ca6..11596c3b0e7 100644
--- a/gnu/packages/vpn.scm
+++ b/gnu/packages/vpn.scm
@@ -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)