Skip to content
Snippets Groups Projects
Unverified Commit e511f274 authored by Martine Lenders's avatar Martine Lenders Committed by GitHub
Browse files

Merge pull request #9604 from cladmi/pr/llvm/lua

lua: remove unsupported flags for llvm
parents 4b9a1a34 c509b6f0
No related branches found
No related tags found
No related merge requests found
SRC := $(filter-out loadlib.c lua.c luac.c,$(wildcard *.c))
CFLAGS += -fstack-usage -fconserve-stack \
-DLUA_MAXCAPTURES=16 \
-DL_MAXLENNUM=50
ifneq (llvm, $(TOOLCHAIN))
CFLAGS += -fstack-usage -fconserve-stack
endif
CFLAGS += -DLUA_MAXCAPTURES=16 -DL_MAXLENNUM=50
# Enable these options to debug stack usage
# -Wstack-usage=128 -Wno-error=stack-usage=128
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment