diff options
-rwxr-xr-x | bruiser/asm.sh | 2 | ||||
-rw-r--r-- | bruiser/lua-5.3.4/src/Makefile | 2 |
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) |