aboutsummaryrefslogtreecommitdiffstats
path: root/out
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2018-08-29 18:25:26 +0000
committerbloodstalker <thabogre@gmail.com>2018-08-29 18:25:26 +0000
commitb1efe40eed74681d14c4c7a1777518593be58431 (patch)
treebea2cdd833f13823fcf515e91f499ac2eef5adfd /out
parentupdate (diff)
downloadluatablegen-b1efe40eed74681d14c4c7a1777518593be58431.tar.gz
luatablegen-b1efe40eed74681d14c4c7a1777518593be58431.zip
update
Diffstat (limited to 'out')
-rw-r--r--out/makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/out/makefile b/out/makefile
index 86b90b3..f33376e 100644
--- a/out/makefile
+++ b/out/makefile
@@ -3,12 +3,12 @@ SHELL=bash
SHELL?=bash
CC=clang
CC?=clang
-CC_FLAGS=-fpic
+CC_FLAGS=
CC_EXTRA?=
CTAGS_I_PATH?=./
LD_FLAGS=
LIB_LUA=../lua5/liblua.a
-EXTRA_LD_FLAGS?=-lm -ldl -llua
+EXTRA_LD_FLAGS?=-lm -ldl
ADD_SANITIZERS_CC= -g -fsanitize=address -fno-omit-frame-pointer
ADD_SANITIZERS_LD= -g -fsanitize=address
MEM_SANITIZERS_CC= -g -fsanitize=memory -fno-omit-frame-pointer
@@ -81,7 +81,7 @@ $(LIB_LUA):
$(MAKE) -C ../lua5 a
$(TARGET): $(TARGET).o $(LIB_LUA) $(OBJ_LIST)
- $(CC) $^ $(LD_FLAGS) -o $@
+ $(CC) $(LD_FLAGS) $^ -o $@
$(TARGET)-static: $(TARGET).o $(LIB_LUA) $(OBJ_LIST)
$(CC) $^ $(LD_FLAGS) -static -o $@