Try to work around mingw issues

This commit is contained in:
zhupengfei
2020-05-16 19:39:25 +08:00
parent 4e290ba289
commit ebab1c433b
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -60,6 +60,7 @@ after_build:
Remove-Item -Force .\msvc_build\bin\release\styles\*.pdb
Copy-Item .\msvc_build\bin\release\* -Destination release -Recurse
} else {
C:\msys64\usr\bin\bash.exe -lc 'strip ./mingw_build/bin/threeSD.exe'
Copy-Item .\mingw_build\bin\threeSD.exe -Destination release
}
+1 -1
View File
@@ -104,7 +104,7 @@ else()
if (MINGW_STATIC_BUILD)
add_definitions(-DQT_STATICPLUGIN)
add_compile_options("-static")
add_compile_options("-static -flto")
endif()
endif()