diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2024-07-16 06:46:11 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-07-16 06:46:11 +0200 |
commit | e88f946e5b88373315b551a336584e5c273d8b0b (patch) | |
tree | 49cb8e007483ed014bddb181ef250c94c575b900 | |
parent | 8d1cd579d443890b7ae6af87229d6e73856ee73a (diff) |
cmake: fix win32 clang debug/release flags
-rw-r--r-- | userconfig-sthalik@Windows-Clang.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/userconfig-sthalik@Windows-Clang.cmake b/userconfig-sthalik@Windows-Clang.cmake index 28ace9f0..dc0ba1dd 100644 --- a/userconfig-sthalik@Windows-Clang.cmake +++ b/userconfig-sthalik@Windows-Clang.cmake @@ -30,8 +30,8 @@ set(OpenCV_DIR "f:/build/opencv/build-clang-release-floormat/install" CACHE PATH set(CMAKE_INSTALL_MESSAGE NEVER) sets(STRING - CMAKE_C_FLAGS "-march=x86-64-v2 -mtune=native -mavx2 -maes -ggdb3 -gsplit-dwarf -gcolumn-info -gdwarf-aranges -gz=zlib -fstack-protector-all" - CMAKE_C_FLAGS_DEBUG "-O0" + CMAKE_C_FLAGS "-march=x86-64-v2 -mtune=native -mavx2 -maes -g -gcolumn-info -gdwarf-aranges" + CMAKE_C_FLAGS_DEBUG "-O0 -fstack-protector-all -g" CMAKE_C_FLAGS_RELEASE "-Ofast -ffast-math -mpopcnt -fomit-frame-pointer -fno-stack-protector -static" CMAKE_EXE_LINKER_FLAGS_DEBUG "" CMAKE_SHARED_LINKER_FLAGS_DEBUG "" |