diff --git a/CMakeLists.txt b/CMakeLists.txt
index e68af65..22830bc 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -37,20 +37,11 @@ ENDIF()
 IF (CMAKE_C_COMPILER_ID STREQUAL GNU
 	OR CMAKE_C_COMPILER_ID STREQUAL Clang)
 	SET(MY_CMAKE_FLAGS "${MY_CMAKE_FLAGS} -Wall -Wextra -Wno-unused-parameter")
-	SET(MY_CMAKE_FLAGS "${MY_CMAKE_FLAGS} -fno-omit-frame-pointer")
         INCLUDE(CheckCCompilerFlag)
         CHECK_C_COMPILER_FLAG(-Wno-implicit-fallthrough HAS_NO_IMPLICIT_FALLTHROUGH)
         IF (HAS_NO_IMPLICIT_FALLTHROUGH)
             SET(MY_CMAKE_FLAGS "${MY_CMAKE_FLAGS} -Wno-implicit-fallthrough")
         ENDIF()
-        IF (PROFILE EQUAL 1)
-            SET(MY_CMAKE_FLAGS "${MY_CMAKE_FLAGS} -g -pg")
-        ENDIF()
-        IF (CMAKE_BUILD_TYPE STREQUAL Release)
-            SET(MY_CMAKE_FLAGS "${MY_CMAKE_FLAGS} -g0 -O3")
-        ELSE()
-            SET(MY_CMAKE_FLAGS "${MY_CMAKE_FLAGS} -g3 -O0 -fsanitize=address")
-        ENDIF()
 ENDIF()
 
 IF (NOT CMAKE_BUILD_TYPE STREQUAL Release)
