From 9fbb3494ae0a93604c214b358d351d48a341fc29 Mon Sep 17 00:00:00 2001 From: maier Date: Sat, 27 Jul 2013 11:48:15 +0000 Subject: [PATCH] CMake: Fix typos git-svn-id: https://svn.dealii.org/trunk@30171 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/cmake/checks/check_01_cpu_features.cmake | 1 + deal.II/cmake/setup_compiler_flags_gnu.cmake | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/deal.II/cmake/checks/check_01_cpu_features.cmake b/deal.II/cmake/checks/check_01_cpu_features.cmake index d8c275b578..90b1e1a93d 100644 --- a/deal.II/cmake/checks/check_01_cpu_features.cmake +++ b/deal.II/cmake/checks/check_01_cpu_features.cmake @@ -46,6 +46,7 @@ ELSE() MESSAGE(STATUS "No suitable C compiler was found! Assuming little endian platform." ) + SET(DEAL_II_WORDS_BIGENDIAN "0") ENDIF() diff --git a/deal.II/cmake/setup_compiler_flags_gnu.cmake b/deal.II/cmake/setup_compiler_flags_gnu.cmake index 63bf98e31a..9f9152a82e 100644 --- a/deal.II/cmake/setup_compiler_flags_gnu.cmake +++ b/deal.II/cmake/setup_compiler_flags_gnu.cmake @@ -148,7 +148,7 @@ IF (CMAKE_BUILD_TYPE MATCHES "Debug") # # If -Og is not available, fall back to -O0: # - IF(NOT DEAL_II_HAVE_FLAG_O0) + IF(NOT DEAL_II_HAVE_FLAG_Og) ADD_FLAGS(DEAL_II_CXX_FLAGS_DEBUG "-O0") ENDIF() -- 2.39.5