guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch core-updates-frozen updated: gnu: moarvm: Fix compiling with gcc


From: guix-commits
Subject: branch core-updates-frozen updated: gnu: moarvm: Fix compiling with gcc 10.
Date: Mon, 22 Nov 2021 08:42:38 -0500

This is an automated email from the git hooks/post-receive script.

glv pushed a commit to branch core-updates-frozen
in repository guix.

The following commit(s) were added to refs/heads/core-updates-frozen by this 
push:
     new 18ab016  gnu: moarvm: Fix compiling with gcc 10.
18ab016 is described below

commit 18ab016be1f1846254b054fa937b539487d2bbdb
Author: Guillaume Le Vaillant <glv@posteo.net>
AuthorDate: Mon Nov 22 13:44:19 2021 +0100

    gnu: moarvm: Fix compiling with gcc 10.
    
    * gnu/packages/perl6.scm (moarvm)[arguments]: Add '-fcommon' to CFLAGS.
---
 gnu/packages/perl6.scm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gnu/packages/perl6.scm b/gnu/packages/perl6.scm
index e02dd75..4639976 100644
--- a/gnu/packages/perl6.scm
+++ b/gnu/packages/perl6.scm
@@ -62,6 +62,7 @@
            (lambda* (#:key inputs outputs #:allow-other-keys)
              (let ((out        (assoc-ref outputs "out"))
                    (pkg-config (assoc-ref inputs "pkg-config")))
+               (setenv "CFLAGS" "-fcommon")
                (setenv "LDFLAGS" (string-append "-Wl,-rpath=" out "/lib"))
                (invoke "perl" "Configure.pl"
                        "--prefix" out



reply via email to

[Prev in Thread] Current Thread [Next in Thread]