diff --git a/gnu/packages/vpn.scm b/gnu/packages/vpn.scm index 0b62e8c7cf..33af1d4424 100644 --- a/gnu/packages/vpn.scm +++ b/gnu/packages/vpn.scm @@ -24,6 +24,7 @@ ;;; Copyright © 2022 Jean-Pierre De Jesus DIAZ ;;; Copyright © 2022 Arun Isaac ;;; Copyright © 2024 Allan Adair +;;; Copyright © 2025 Janneke Nieuwenhuizen ;;; ;;; 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)