未验证 提交 61abe526 编写于 作者: G Galaxy1458 提交者: GitHub

[flags.cmake] add some options in flags.cmake (#56742)

* add [-W -gc-sections] in flags.cmake

* add [-W -gc-sections] in flags.cmake

* add [-W -gc-sections] in flags.cmake

* add [-W -gc-sections] in flags.cmake

* add [-W -gc-sections] in flags.cmake

* add [-W -gc-sections] in flags.cmake
上级 8cee5690
......@@ -141,6 +141,11 @@ if(NOT WIN32)
set(COMMON_FLAGS
-fPIC
-fno-omit-frame-pointer
-pipe
-ffunction-sections
-fdata-sections
-Wl
-gc-sections
-Werror
-Wall
-Wextra
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册