diff options
author | Ashish SHUKLA <ashish.is@lostca.se> | 2025-07-20 15:17:33 +0200 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-07-20 15:24:34 +0100 |
commit | 9f5df57b0529d94c1215d3f902f860972e2003ba (patch) | |
tree | e40088c16c1c95c4fd126dea5039d58e6342f739 | |
parent | 7a145d9f3c459d43606cff5115ed1a3ef9ee6c20 (diff) |
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>
-rw-r--r-- | gnu/packages/perl6.scm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/packages/perl6.scm b/gnu/packages/perl6.scm index 10eb33be25..317a1bd021 100644 --- a/gnu/packages/perl6.scm +++ b/gnu/packages/perl6.scm @@ -67,7 +67,8 @@ (lambda* (#:key inputs outputs #:allow-other-keys) (let ((out (assoc-ref outputs "out")) (pkg-config (assoc-ref inputs "pkg-config"))) - (setenv "CFLAGS" "-fcommon") + ;; fix building with GCC 14 + (setenv "CFLAGS" "-fcommon -Wno-incompatible-pointer-types") (setenv "LDFLAGS" ,@(if (target-ppc32?) `((string-append "-Wl,-rpath=" out "/lib" " -latomic")) |