From 15eeed5f1c2d5b9349e5c817413a6c6b7b580530 Mon Sep 17 00:00:00 2001 From: Gabriel Ferreira Date: Wed, 11 May 2022 13:54:55 -0300 Subject: [PATCH] build: Restore debug build profile flags --- build-support/macros-and-definitions.cmake | 3 --- 1 file changed, 3 deletions(-) diff --git a/build-support/macros-and-definitions.cmake b/build-support/macros-and-definitions.cmake index 3767cfa6b..0c6dff4b3 100644 --- a/build-support/macros-and-definitions.cmake +++ b/build-support/macros-and-definitions.cmake @@ -311,9 +311,6 @@ macro(process_options) string(TOLOWER ${CMAKE_BUILD_TYPE} cmakeBuildType) set(build_profile "${cmakeBuildType}" CACHE INTERNAL "") if(${cmakeBuildType} STREQUAL "debug") - string(REPLACE "-g" "-Og -g" CMAKE_CXX_FLAGS_DEBUG - "${CMAKE_CXX_FLAGS_DEBUG}" - ) add_definitions(-DNS3_BUILD_PROFILE_DEBUG) elseif(${cmakeBuildType} STREQUAL "relwithdebinfo" OR ${cmakeBuildType} STREQUAL "default"