mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 23:46:13 -05:00
gnu: moarvm: Fix compiling with gcc 10.
* gnu/packages/perl6.scm (moarvm)[arguments]: Add '-fcommon' to CFLAGS.
This commit is contained in:
parent
83bd1b70cc
commit
18ab016be1
1 changed files with 1 additions and 0 deletions
|
@ -62,6 +62,7 @@ (define-public moarvm
|
|||
(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
|
||||
|
|
Loading…
Reference in a new issue