aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2018-03-20 11:11:56 +0000
committerbloodstalker <thabogre@gmail.com>2018-03-20 11:11:56 +0000
commit8520e0e93e47e6526b39545ed0bf9fca52354f6b (patch)
treed22f15a0edeaf80b0e5362a4de956e7ef5e3e992
parenttravis... (diff)
downloadmutator-8520e0e93e47e6526b39545ed0bf9fca52354f6b.tar.gz
mutator-8520e0e93e47e6526b39545ed0bf9fca52354f6b.zip
run a deepclean on bruiser's makefile to rebuild the lua makefile
-rwxr-xr-xbruiser/asm.sh2
-rw-r--r--bruiser/lua-5.3.4/src/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/bruiser/asm.sh b/bruiser/asm.sh
index a34f9c9..f1bb231 100755
--- a/bruiser/asm.sh
+++ b/bruiser/asm.sh
@@ -1,5 +1,5 @@
#!/bin/bash
cd $(dirname $0)
-clang ./asmrewriter.c -llua -o asmrewriter
+clang ./asmrewriter.c -L./lua-5.3.4/src -llua -lm -ldl -lreadline -o asmrewriter
./asmrewriter ./lua-scripts/asmtest.lua || exit 1
rm ./asmrewriter
diff --git a/bruiser/lua-5.3.4/src/Makefile b/bruiser/lua-5.3.4/src/Makefile
index d71c75c..f3859af 100644
--- a/bruiser/lua-5.3.4/src/Makefile
+++ b/bruiser/lua-5.3.4/src/Makefile
@@ -7,7 +7,7 @@
PLAT= none
CC= gcc -std=gnu99
-CFLAGS= -O2 -Wall -Wextra -DLUA_COMPAT_5_2 $(SYSCFLAGS) $(MYCFLAGS)
+CFLAGS= -O2 -Wall -Wextra -DLUA_COMPAT_MODULE -DLUA_COMPAT_5_2 $(SYSCFLAGS) $(MYCFLAGS)
LDFLAGS= $(SYSLDFLAGS) $(MYLDFLAGS)
LIBS= -lm $(SYSLIBS) $(MYLIBS)