gnu: s7: Fix build with gcc-14.

* gnu/packages/lisp.scm (s7-bootstrap)[arguments]<#:phases>{build}:
Add a compiler flag.

Change-Id: Ic302c72d137c81a37f61a3fdfc58fc998f46dfe4
This commit is contained in:
Andreas Enge 2025-07-27 23:52:46 +02:00
parent 9daa92a968
commit 58efd7e9f7
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -1325,7 +1325,8 @@ not likely to change.")
(invoke #$(cc-for-target) "notcurses_s7.c"
"-I." "-O2" "-g"
"-shared" "-o" "libnotcurses_s7.so"
"-lnotcurses-core" "-fPIC")
"-lnotcurses-core" "-fPIC"
"-Wno-error=implicit-function-declaration")
;; Need s7.o and ffitest for tests
(display "[BUILD] s7.o\n")
(invoke #$(cc-for-target) "-c" "s7.c" "-o"