##
## This file is in charge of setting our paranoid flags with regard to warnings and optimization.
##
+## It is only used for gcc and clang. MSVC builds don't load this file.
+##
## These flags do break some classical CMake tests, so you don't
## want to do so before the very end of the configuration.
##
message(STATUS "Add LDFLAGS: \"$ENV{LDFLAGS}\" to CMAKE_C_LINK_FLAGS")
set(CMAKE_C_LINK_FLAGS "${CMAKE_C_LINK_FLAGS} $ENV{LDFLAGS}")
endif()
-
-if(MINGW)
- add_definitions(-D__USE_MINGW_ANSI_STDIO=1)
-endif()