]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Bugfix: Disable -Wa,--compress-debug-sections on MinGW as well
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 25 Nov 2012 10:30:42 +0000 (10:30 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 25 Nov 2012 10:30:42 +0000 (10:30 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_cmake@27680 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/cmake/checks/check_for_compiler_features.cmake

index 18f148cca63e348f4f9eb783e7ab4eb7b9477f51..5742fe09424131152b5f032714f708077b60a145 100644 (file)
@@ -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()

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.