Reduce filesize of the tests on MinGW (#2995)

This patch removes the workaround applied here
1acfd07f1e.
MinGW is not tested on Appveyor anymore.
This commit is contained in:
Dimitrij Mijoski
2022-07-23 05:11:33 +02:00
committed by GitHub
parent 48e0a59222
commit bbcb129e02
2 changed files with 16 additions and 28 deletions

View File

@@ -8,9 +8,6 @@ target_link_libraries(test-main gtest fmt)
function(add_fmt_executable name)
add_executable(${name} ${ARGN})
if (MINGW)
target_link_libraries(${name} -static-libgcc -static-libstdc++)
endif ()
# (Wstringop-overflow) - [meta-bug] bogus/missing -Wstringop-overflow warnings
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88443
# Bogus -Wstringop-overflow warning