From c0d47cadea6fc5f968e982b2373ce1347bcc6988 Mon Sep 17 00:00:00 2001 From: doncatnip Date: Thu, 1 Sep 2016 23:08:28 +0200 Subject: gnu: lua: Use MYCFLAGS instead of CFLAGS. * gnu/packages/lua.scm (lua)[arguments]: Use MYCFLAGS instead of CFLAGS and remove conflicting -DLUA_USE_POSIX since -DLUA_USE_LINUX is passed implicitly for build target "linux". Signed-off-by: Leo Famulari --- gnu/packages/lua.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/packages/lua.scm b/gnu/packages/lua.scm index 274330fd3d..f2e9da20fd 100644 --- a/gnu/packages/lua.scm +++ b/gnu/packages/lua.scm @@ -51,7 +51,7 @@ (srfi srfi-1)) #:test-target "test" #:make-flags - '("CFLAGS=-fPIC -DLUA_DL_DLOPEN -DLUA_USE_POSIX" + '("MYCFLAGS=-fPIC -DLUA_DL_DLOPEN" "linux") #:phases (modify-phases %standard-phases -- cgit v1.2.3