From 74386967eae9853fdd14ea491ec0063144157d61 Mon Sep 17 00:00:00 2001 From: cf-zhao Date: Wed, 30 Oct 2024 17:27:45 +0800 Subject: [PATCH] Support building with clang --- src/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Makefile b/src/Makefile index 99642be7..15e40c62 100644 --- a/src/Makefile +++ b/src/Makefile @@ -26,10 +26,10 @@ NODOTABIVER= 51 DEFAULT_CC = gcc # # LuaJIT builds as a native 32 or 64 bit binary by default. -CC= $(DEFAULT_CC) +CC?= $(DEFAULT_CC) # # Use this if you want to force a 32 bit build on a 64 bit multilib OS. -#CC= $(DEFAULT_CC) -m32 +#CC?= $(DEFAULT_CC) -m32 # # Since the assembler part does NOT maintain a frame pointer, it's pointless # to slow down the C part by not omitting it. Debugging, tracebacks and