diff options
author | Guillaume Le Vaillant <glv@posteo.net> | 2021-11-22 13:44:19 +0100 |
---|---|---|
committer | Guillaume Le Vaillant <glv@posteo.net> | 2021-11-22 13:44:19 +0100 |
commit | 18ab016be1f1846254b054fa937b539487d2bbdb (patch) | |
tree | eccf4eb081137775db663c8641d69a829ba00186 | |
parent | 83bd1b70cc568a287bd72c5777e3489ef7e6cf3b (diff) | |
download | guix-18ab016be1f1846254b054fa937b539487d2bbdb.tar.gz |
gnu: moarvm: Fix compiling with gcc 10.
* gnu/packages/perl6.scm (moarvm)[arguments]: Add '-fcommon' to CFLAGS.
-rw-r--r-- | gnu/packages/perl6.scm | 1 |
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 |