From fb5608190aa6df50a2f442fdb56d80e3a97d5e49 Mon Sep 17 00:00:00 2001 From: LA_DI_DA <11174151+0O0o0oOoO00@users.noreply.github.com> Date: Tue, 25 Mar 2025 23:52:41 +0800 Subject: [PATCH] opt: remove the DEBUG_MODE condition and add the -s link option uniformly to reduce file size in debug mode --- blcrack/platform/android.cmake | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/blcrack/platform/android.cmake b/blcrack/platform/android.cmake index 79097e702..147ff28a7 100644 --- a/blcrack/platform/android.cmake +++ b/blcrack/platform/android.cmake @@ -2,9 +2,7 @@ include(${CMAKE_CURRENT_LIST_DIR}/android.vcpkgs.cmake) set_output_dir(${CMAKE_CURRENT_LIST_DIR}/../bin/${CMAKE_BUILD_TYPE}-Android-${CMAKE_ANDROID_ARCH_ABI}) -if (NOT DEBUG_MODE) - add_link_options(-s) -endif () +add_link_options(-s) add_subdirectory(${CMAKE_CURRENT_LIST_DIR}/../cracker) add_subdirectory(${CMAKE_CURRENT_LIST_DIR}/../logger)