mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: tcp-wrappers: Fix build with gcc-14.
* gnu/packages/networking.scm (tcp-wrappers)[arguments]<#:phases>{build}: Add more flags to the gcc call. Change-Id: I5a06b00a4e51b5511f8fc8df9dedf803709189f0 Signed-off-by: Andreas Enge <andreas@enge.fr>
This commit is contained in:
parent
e5a1fa55e8
commit
b3f5af88e8
1 changed files with 7 additions and 1 deletions
|
@ -1412,7 +1412,13 @@ or server shell scripts with network connections.")
|
|||
(lambda _
|
||||
(chmod "." #o755)
|
||||
;; Upstream doesn't generate a shared library. So we have to do it.
|
||||
(setenv "CC" "gcc -fno-builtin -fPIC")
|
||||
(setenv "CC" (string-join '("gcc"
|
||||
"-fno-builtin"
|
||||
"-fPIC"
|
||||
"-Wno-implicit-function-declaration"
|
||||
"-Wno-implicit-int"
|
||||
"-Wno-return-mismatch")
|
||||
" "))
|
||||
(substitute* "Makefile"
|
||||
(("^(all[^\n]*)" line) (string-append line " libwrap.so\n
|
||||
libwrap.so: $(LIB_OBJ)\n
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue