diff options
Diffstat (limited to 'network/uTox/asan_off.diff')
-rw-r--r-- | network/uTox/asan_off.diff | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/network/uTox/asan_off.diff b/network/uTox/asan_off.diff new file mode 100644 index 0000000000..f6c3ff662a --- /dev/null +++ b/network/uTox/asan_off.diff @@ -0,0 +1,14 @@ +--- CMakeLists.txt.orig 2017-08-23 06:19:33.000000000 +1000 ++++ CMakeLists.txt 2017-12-15 16:07:38.446002260 +1000 +@@ -73,6 +73,11 @@ + set(ASAN_DEFAULT ON) + endif() + ++# ASAN causes uTox to be slower so do no use it for release builds ++if (CMAKE_BUILD_TYPE MATCHES "Release") ++ set(ASAN_DEFAULT OFF) ++endif() ++ + ########### + # Options # + ########### |