提交 d0b7eb36 编写于 作者: V vit9696

User: disable stringop-overflow warning in recent gcc for utilities

This warning is triggered in EDK II MdePkg code
上级 409b0d7c
......@@ -64,6 +64,10 @@ ifeq ($(shell echo 'int a;' | "${CC}" -Wno-address -x c -c - -o /dev/null 2>&1),
CFLAGS += -Wno-address
endif
ifeq ($(shell echo 'int a;' | "${CC}" -Wno-stringop-overflow -x c -c - -o /dev/null 2>&1),)
CFLAGS += -Wno-stringop-overflow
endif
ifeq ($(DIST),Darwin)
ifneq ($(FUZZ),1)
CFLAGS += -mmacosx-version-min=10.6 --target=x86_64-apple-darwin
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册