From: maier Date: Sun, 25 Nov 2012 10:30:42 +0000 (+0000) Subject: Bugfix: Disable -Wa,--compress-debug-sections on MinGW as well X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ec2662ab53f66c875cd223d912fe1214c0cbf6c;p=dealii-svn.git Bugfix: Disable -Wa,--compress-debug-sections on MinGW as well git-svn-id: https://svn.dealii.org/branches/branch_cmake@27680 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/cmake/checks/check_for_compiler_features.cmake b/deal.II/cmake/checks/check_for_compiler_features.cmake index 18f148cca6..5742fe0942 100644 --- a/deal.II/cmake/checks/check_for_compiler_features.cmake +++ b/deal.II/cmake/checks/check_for_compiler_features.cmake @@ -294,7 +294,8 @@ ENDIF() # # - Matthias Maier, rewritten 2012 # -IF(NOT CMAKE_SYSTEM_NAME MATCHES "CYGWIN") +IF( (NOT CMAKE_SYSTEM_NAME MATCHES "CYGWIN") AND + (NOT CMAKE_SYSTEM_NAME MATCHES "Windows") ) ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS_DEBUG "-Wa,--compress-debug-sections") ENABLE_IF_SUPPORTED(DEAL_II_C_FLAGS_DEBUG "-Wa,--compress-debug-sections") ENDIF()