mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: moarvm: Fix build with GCC 14.
Fixes guix/guix#1409 * gnu/packages/perl6.scm (moarvm)[#:phases]<configure>: Update CFLAGS. Change-Id: I18d133c9d4fa78d20be4fdc11253a8ee9fcc7ee7 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
parent
7a145d9f3c
commit
9f5df57b05
1 changed files with 2 additions and 1 deletions
|
@ -67,7 +67,8 @@
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
(let ((out (assoc-ref outputs "out"))
|
(let ((out (assoc-ref outputs "out"))
|
||||||
(pkg-config (assoc-ref inputs "pkg-config")))
|
(pkg-config (assoc-ref inputs "pkg-config")))
|
||||||
(setenv "CFLAGS" "-fcommon")
|
;; fix building with GCC 14
|
||||||
|
(setenv "CFLAGS" "-fcommon -Wno-incompatible-pointer-types")
|
||||||
(setenv "LDFLAGS"
|
(setenv "LDFLAGS"
|
||||||
,@(if (target-ppc32?)
|
,@(if (target-ppc32?)
|
||||||
`((string-append "-Wl,-rpath=" out "/lib" " -latomic"))
|
`((string-append "-Wl,-rpath=" out "/lib" " -latomic"))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue