aboutsummaryrefslogtreecommitdiffstats
path: root/games/loderunner-ng/files/patch-CMakeLists.txt
blob: 53eadc2dbfd08b43ae0d8ce6cabeb1335182237a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- CMakeLists.txt.orig	2025-07-31 19:41:17 UTC
+++ CMakeLists.txt
@@ -21,10 +21,10 @@ add_compile_options(-std=gnu99 -Wall -Wextra -Wpedanti
 include(GNUInstallDirs)
 
 add_compile_options(-std=gnu99 -Wall -Wextra -Wpedantic)
-if(CMAKE_BUILD_TYPE STREQUAL "Debug")
-    add_compile_options(-g -O0 -fsanitize=address -fno-omit-frame-pointer)
-    add_link_options(-fsanitize=address)
-endif()
+# if(CMAKE_BUILD_TYPE STREQUAL "Debug")
+#     add_compile_options(-g -O0 -fsanitize=address -fno-omit-frame-pointer)
+#     add_link_options(-fsanitize=address)
+# endif()
 if (LINUX)
     # For srandom(), random() & getopt().
     add_compile_definitions(_GNU_SOURCE)