提交 4143f26a 创建 作者: Nickolai Zeldovich's avatar Nickolai Zeldovich

use -O3

上级 4ef66fea
......@@ -30,7 +30,7 @@ STRIP = $(TOOLPREFIX)strip
# -nostdinc
INCLUDES = -Iinclude -I$(QEMUSRC) -include param.h -include include/compiler.h
COMFLAGS = -static -g -MD -m64 -O2 -Wall -Werror -DHW_$(HW) -DXV6 \
COMFLAGS = -static -g -MD -m64 -O3 -Wall -Werror -DHW_$(HW) -DXV6 \
-fno-builtin -fno-strict-aliasing -fno-omit-frame-pointer -fms-extensions \
-mno-sse -mcx16 -mno-red-zone $(INCLUDES)
COMFLAGS += $(shell $(CC) -fno-stack-protector -E -x c /dev/null >/dev/null 2>&1 && echo -fno-stack-protector)
......
......@@ -19,7 +19,7 @@ LWIP_CFLAGS = -Wno-attributes \
-Wno-char-subscripts \
-Wno-unused-but-set-variable \
-Wno-format \
-mcmodel=large
-mcmodel=large -O2
LWIP_INCLUDES := \
-Ilwip/src/include \
......
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论