unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] gnu: luajit: Add -fPIC into CFLAGS.
@ 2014-12-15 22:52 Tomáš Čech
  2014-12-16 17:08 ` Ludovic Courtès
  0 siblings, 1 reply; 11+ messages in thread
From: Tomáš Čech @ 2014-12-15 22:52 UTC (permalink / raw)
  To: guix-devel

* gnu/packages/lua.scm (luajit): Add -fPIC into CFLAGS and pass it to make.
---
 gnu/packages/lua.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/lua.scm b/gnu/packages/lua.scm
index eda69f9..0b6c4e4 100644
--- 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")))))
     (home-page "http://www.luajit.org/")
     (synopsis "Just in time compiler for Lua programming language version 5.1")
     (description
-- 
2.0.4

^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2015-02-01 19:07 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-15 22:52 [PATCH] gnu: luajit: Add -fPIC into CFLAGS Tomáš Čech
2014-12-16 17:08 ` Ludovic Courtès
2014-12-16 19:28   ` Tomas Cech
2014-12-16 21:08     ` Ludovic Courtès
2014-12-16 21:42       ` Tomas Cech
2014-12-16 22:15         ` Ludovic Courtès
2014-12-27 12:08           ` Tomas Cech
2015-01-07 20:14             ` Ludovic Courtès
2015-01-28 20:31               ` Tomas Cech
2015-02-01 14:43                 ` [PATCH] gnu: luajit: don't require ldconfig Tomáš Čech
2015-02-01 19:07                   ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).