removed -static-libstdc++ flag for compatibility with old MinGW version

This commit is contained in:
Alexander Shishkov 2011-07-08 07:10:37 +00:00
parent 3a8a729a52
commit b50428bf65

View File

@ -1069,10 +1069,6 @@ if(CMAKE_COMPILER_IS_GNUCXX)
# High level of warnings.
set(EXTRA_C_FLAGS "${EXTRA_C_FLAGS} -Wall")
if(BUILD_WITH_STATIC_CRT)
set(EXTRA_C_FLAGS "${EXTRA_C_FLAGS} -static-libstdc++")
endif()
# The -Wno-long-long is required in 64bit systems when including sytem headers.
if(${CMAKE_SYSTEM_PROCESSOR} MATCHES x86_64*)
set(EXTRA_C_FLAGS "${EXTRA_C_FLAGS} -Wno-long-long")