aboutsummaryrefslogtreecommitdiffstats
path: root/games/loderunner-ng/files/patch-CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'games/loderunner-ng/files/patch-CMakeLists.txt')
-rw-r--r--games/loderunner-ng/files/patch-CMakeLists.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/games/loderunner-ng/files/patch-CMakeLists.txt b/games/loderunner-ng/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..53eadc2dbfd0
--- /dev/null
+++ b/games/loderunner-ng/files/patch-CMakeLists.txt
@@ -0,0 +1,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)