aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2018-07-17 15:53:53 -0300
committerHisham Muhammad <hisham@gobolinux.org>2018-07-18 11:24:07 -0300
commit981b37c83681203cf69f04d8f8fbc360dc7f345e (patch)
treeecbc61d98c3d0aa230e03259387cbab6028d531b /src
parent619296451e96608bae10b868c864b31108d0ee79 (diff)
downloadluarocks-981b37c83681203cf69f04d8f8fbc360dc7f345e.tar.gz
luarocks-981b37c83681203cf69f04d8f8fbc360dc7f345e.tar.bz2
luarocks-981b37c83681203cf69f04d8f8fbc360dc7f345e.zip
build.command: don't export LD or CFLAGS
This avoids breakage with existing rockspecs that don't expect it, as seen when building the single-binary.
Diffstat (limited to 'src')
-rw-r--r--src/luarocks/build/command.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/luarocks/build/command.lua b/src/luarocks/build/command.lua
index 2a581a39..2016de8b 100644
--- a/src/luarocks/build/command.lua
+++ b/src/luarocks/build/command.lua
@@ -19,8 +19,8 @@ function command.run(rockspec)
19 19
20 local env = { 20 local env = {
21 CC = cfg.variables.CC, 21 CC = cfg.variables.CC,
22 LD = cfg.variables.LD, 22 --LD = cfg.variables.LD,
23 CFLAGS = cfg.variables.CFLAGS, 23 --CFLAGS = cfg.variables.CFLAGS,
24 } 24 }
25 25
26 if build.build_command then 26 if build.build_command then