lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

It is AMD64. And, I made the following changes in lua-5.2.2/src/Makefie:

diff --git a/src/Makefile b/src/Makefile
index fea895b..c268ba4 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -6,10 +6,10 @@
 # Your platform. See PLATS for possible values.
 PLAT= none
-CC= gcc
+CC= cc
+CFLAGS= -O2 -Wall -DLUA_COMPAT_ALL $(SYSCFLAGS) $(MYCFLAGS0) -fsanitize=address -fsanitize-recover=address -fno-omit-frame-pointer -fsanitize-address-use-after-scope -I/usr/include/edit/
+LDFLAGS= $(SYSLDFLAGS) $(MYLDFLAGS) -fsanitize=address -fsanitize-recover=address -fno-omit-frame-pointer -fsanitize-address-use-after-scope
+LIBS= -lm $(SYSLIBS) $(MYLIBS) -fsanitize=address -fsanitize-recover=address -fno-omit-frame-pointer -fsanitize-address-use-after-scope -L/usr/local/lib/
 AR= ar rcu
 RANLIB= ranlib
You have new mail in /var/mail/root

On Wed, Jul 28, 2021 at 6:57 PM Sam Trenholme <> wrote:

> I'm trying in FreeSD 11.4.
Which architecture? Is it an AMD64/x86_64 build, or is it something else
(i386, ARM32, ARM64, MIPS, etc.)?

Best Regards
Aman Agrawal