me
/
guix
Archived
1
0
Fork 0

gnu: moarvm: Fix compiling with gcc 10.

* gnu/packages/perl6.scm (moarvm)[arguments]: Add '-fcommon' to CFLAGS.
master
Guillaume Le Vaillant 2021-11-22 13:44:19 +01:00
parent 83bd1b70cc
commit 18ab016be1
No known key found for this signature in database
GPG Key ID: 6BE8208ADF21FE3F
1 changed files with 1 additions and 0 deletions

View File

@ -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