更正优化级别

This commit is contained in:
fslongjin
2022-08-03 17:23:30 +08:00
parent 45db40b3e9
commit 36d55511ba
2 changed files with 6 additions and 8 deletions

View File

@ -7,7 +7,7 @@ export ARCH=__x86_64__
export ROOT_PATH=$(shell pwd)
export DEBUG=DEBUG
export GLOBAL_CFLAGS := -mcmodel=large -fno-builtin -m64 -fno-stack-protector -D $(ARCH) -O0
export GLOBAL_CFLAGS := -mcmodel=large -fno-builtin -m64 -fno-stack-protector -D $(ARCH) -O1
ifeq ($(DEBUG), DEBUG)
GLOBAL_CFLAGS += -g