Try add LTO

This commit is contained in:
zhupengfei
2020-05-16 19:50:08 +08:00
parent ebab1c433b
commit 47df56ea36
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -104,7 +104,7 @@ else()
if (MINGW_STATIC_BUILD)
add_definitions(-DQT_STATICPLUGIN)
add_compile_options("-static -flto")
add_compile_options("-static")
endif()
endif()