From 23bd8f556e3a7b84f35f8b58ee506241b9b95fca Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Tue, 21 Mar 2017 13:29:00 +0100 Subject: [PATCH] gnu: bigloo: Fix build failure in ld. * gnu/packages/scheme.scm (bigloo)[arguments]<#:configure-flags>: Add --cflags=-fPIC. --- gnu/packages/scheme.scm | 1 + 1 file changed, 1 insertion(+) diff --git a/gnu/packages/scheme.scm b/gnu/packages/scheme.scm index fec872f5f9..b689b0f421 100644 --- a/gnu/packages/scheme.scm +++ b/gnu/packages/scheme.scm @@ -248,6 +248,7 @@ features an integrated Emacs-like editor and a large runtime library.") ;; "--customgc=no" ; use our libgc (string-append"--mv=" (which "mv")) (string-append "--rm=" (which "rm")) + "--cflags=-fPIC" (string-append "--ldflags=-Wl,-rpath=" (assoc-ref outputs "out") "/lib/bigloo/" ,version))))))