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)) SRC := $(filter-out loadlib.c lua.c luac.c,$(wildcard *.c))
CFLAGS += -fstack-usage -fconserve-stack \ ifneq (llvm, $(TOOLCHAIN))
-DLUA_MAXCAPTURES=16 \ CFLAGS += -fstack-usage -fconserve-stack
-DL_MAXLENNUM=50 endif
CFLAGS += -DLUA_MAXCAPTURES=16 -DL_MAXLENNUM=50
# Enable these options to debug stack usage # Enable these options to debug stack usage
# -Wstack-usage=128 -Wno-error=stack-usage=128 # -Wstack-usage=128 -Wno-error=stack-usage=128
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment