clang detection in unix hints

Closes #1500 but it does apply the pull request.
Hopefully, this makes things a little clearer.
This commit is contained in:
nhmall
2026-04-20 20:47:59 -04:00
parent b5e6840bea
commit 7d377a0f02
3 changed files with 16 additions and 7 deletions

View File

@@ -415,7 +415,7 @@ endif
SYSCFLAGS=-DLUA_USE_LINUX
ifdef GITSUBMODULES
LUAFLAGS=CC='$(CC)' SYSCFLAGS='$(SYSCFLAGS)'
ifneq "$(CCISCLANG)" ""
ifeq "$(CCISCLANG)" "1"
# clang
LUAFLAGS +=CWARNGCC=''
endif # clang