aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/perl6.scm
diff options
context:
space:
mode:
authorGuillaume Le Vaillant <glv@posteo.net>2021-11-22 13:44:19 +0100
committerGuillaume Le Vaillant <glv@posteo.net>2021-11-22 13:44:19 +0100
commit18ab016be1f1846254b054fa937b539487d2bbdb (patch)
treeeccf4eb081137775db663c8641d69a829ba00186 /gnu/packages/perl6.scm
parent83bd1b70cc568a287bd72c5777e3489ef7e6cf3b (diff)
downloadguix-18ab016be1f1846254b054fa937b539487d2bbdb.tar
guix-18ab016be1f1846254b054fa937b539487d2bbdb.tar.gz
gnu: moarvm: Fix compiling with gcc 10.
* gnu/packages/perl6.scm (moarvm)[arguments]: Add '-fcommon' to CFLAGS.
Diffstat (limited to 'gnu/packages/perl6.scm')
-rw-r--r--gnu/packages/perl6.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/packages/perl6.scm b/gnu/packages/perl6.scm
index e02dd757e5..4639976961 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