From 90f80bf21cce30b92c48958f5a5dcb12942b69a4 Mon Sep 17 00:00:00 2001 From: Andreas Enge Date: Wed, 16 Apr 2014 15:12:46 +0200 Subject: gnu: lua: Compile with -fPIC. * gnu/packages/lua.scm (lua): Add -fPIC to CFLAGS and LDFLAGS. --- gnu/packages/lua.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gnu/packages/lua.scm') diff --git a/gnu/packages/lua.scm b/gnu/packages/lua.scm index 991cfc6e67..f2a603bc91 100644 --- a/gnu/packages/lua.scm +++ b/gnu/packages/lua.scm @@ -2,6 +2,7 @@ ;;; Copyright © 2013 Cyril Roelandt ;;; Copyright © 2014 Raimon Grau ;;; Copyright © 2014 Mark H Weaver +;;; Copyright © 2014 Andreas Enge ;;; ;;; This file is part of GNU Guix. ;;; @@ -45,7 +46,7 @@ #:test-target "test" #:phases (alist-replace 'build - (lambda _ (zero? (system* "make" "linux"))) ; XXX: Other OS. + (lambda _ (zero? (system* "make" "CFLAGS=-fPIC" "linux"))) (alist-replace 'install (lambda* (#:key outputs #:allow-other-keys) -- cgit v1.2.3