aboutsummaryrefslogtreecommitdiffstats
path: root/games/loderunner-ng/files/patch-CMakeLists.txt
diff options
context:
space:
mode:
authorLexi Winter <ivy@FreeBSD.org>2025-12-01 03:19:41 +0000
committerLexi Winter <ivy@FreeBSD.org>2025-12-01 03:19:41 +0000
commit2e80774d0b20d167bc0a9e2b63dafbfb171c0d22 (patch)
tree25f0138e1af8902b92dacc8cce09b267447c17db /games/loderunner-ng/files/patch-CMakeLists.txt
parentf85f2b2d6e5b7ed869376eb4b180c3a74a5c5da9 (diff)
parent1a30da80670973368b399f2b01fe9c04b91a1273 (diff)
Merge remote-tracking branch 'freebsd/main' into lf/mainlf/main
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)