diff --git a/CMakeLists.txt b/CMakeLists.txt index d5b9b0bbda..67ca6f2592 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -209,8 +209,8 @@ else() # CMAKE_CXX_FLAGS_DEBUG before finalizing. This results in the # default DEBUG flag of '-g' being appended, and therefore # overriding what you specify here - set(CMAKE_CXX_FLAGS_DEBUG "-O0 -ggdb -pipe --exec-charset=UTF-8 --input-charset=UTF-8 --no-implement-inlines --unit-at-a-time --fast-math") - set(CMAKE_C_FLAGS_DEBUG "-O0 -ggdb -pipe --exec-charset=UTF-8 --input-charset=UTF-8 --no-implement-inlines --unit-at-a-time --fast-math") + set(CMAKE_CXX_FLAGS_DEBUG "-ggdb -pipe --exec-charset=UTF-8 --input-charset=UTF-8 --no-implement-inlines --unit-at-a-time --fast-math") + set(CMAKE_C_FLAGS_DEBUG "-ggdb -pipe --exec-charset=UTF-8 --input-charset=UTF-8 --no-implement-inlines --unit-at-a-time --fast-math") include(CheckCXXCompilerFlag) CHECK_CXX_COMPILER_FLAG("-fvisibility=hidden" CXX_HAS_VH_FLAG) CHECK_CXX_COMPILER_FLAG("-fvisibility-inlines-hidden" CXX_HAS_VIH_FLAG) diff --git a/admin/gendoc.pl b/admin/gendoc.pl index 6ee09592c7..2576da10ac 100755 --- a/admin/gendoc.pl +++ b/admin/gendoc.pl @@ -203,7 +203,7 @@ sub print_header sub print_footer { - print $g_filehandle "
\n"; + print $g_filehandle " \n"; print $g_filehandle "