mirror of
https://codeberg.org/guix/guix.git
synced 2026-05-13 15:03:44 +00:00
gnu: moarvm: Fix compiling with gcc 10.
* gnu/packages/perl6.scm (moarvm)[arguments]: Add '-fcommon' to CFLAGS.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user