Tomáš Čech <sleep_wal...@suse.cz> skribis: > * gnu/packages/lua.scm (luajit): Add -fPIC into CFLAGS and pass it to make.
[...] > --- a/gnu/packages/lua.scm > +++ b/gnu/packages/lua.scm > @@ -92,7 +92,8 @@ for configuration, scripting, and rapid prototyping.") > (arguments > '(#:tests? #f ;luajit is distributed without tests > #:phases (alist-delete 'configure %standard-phases) > - #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs > "out"))))) > + #:make-flags (list (string-append "CFLAGS=-fPIC " (or (getenv > "CFLAGS") "")) > + (string-append "PREFIX=" (assoc-ref %outputs > "out"))))) Could you add a comment explaining why this is needed? Normally I would expect the makefiles to already contain that flag if it’s needed. Thanks, Ludo’.