removed -static-libstdc++ flag for compatibility with old MinGW version
This commit is contained in:
parent
3a8a729a52
commit
b50428bf65
@ -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")
|
||||
|
Loading…
x
Reference in New Issue
Block a user