summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-03-21 12:42:43 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-03-21 12:42:43 +0100
commit84ac66e790da0211f2ad3af38a5dc869a32ca242 (patch)
treefd5a504f4bd18295ebe0c4da240a4ad87a22c410
parent60b4a91bbdcf485fa33155026c1f9fe9b2db4be1 (diff)
cmake wip
-rw-r--r--userconfig-sthalik@Windows-Clang.cmake4
-rw-r--r--userconfig-sthalik@Windows-GNU.cmake2
2 files changed, 3 insertions, 3 deletions
diff --git a/userconfig-sthalik@Windows-Clang.cmake b/userconfig-sthalik@Windows-Clang.cmake
index 57e098af..9af1c6e2 100644
--- a/userconfig-sthalik@Windows-Clang.cmake
+++ b/userconfig-sthalik@Windows-Clang.cmake
@@ -22,8 +22,8 @@ else()
endif()
if(FLOORMAT_ASAN)
- add_compile_options(-fsanitize=undefined -fsanitize=address)
- add_link_options(-fsanitize=undefined -fsanitize=address)
+ add_compile_options(-fsanitize=undefined,bounds,address)
+ add_link_options(-fsanitize=undefined,bounds,address)
endif()
set(OpenCV_DIR "f:/dev/opentrack-depends/opencv/build-clang-amd64/install" CACHE PATH "" FORCE)
diff --git a/userconfig-sthalik@Windows-GNU.cmake b/userconfig-sthalik@Windows-GNU.cmake
index 0aa515bc..d30e8004 100644
--- a/userconfig-sthalik@Windows-GNU.cmake
+++ b/userconfig-sthalik@Windows-GNU.cmake
@@ -1,6 +1,6 @@
sets(STRING
CMAKE_C_FLAGS ""
- CMAKE_C_FLAGS_DEBUG "-O0 -g -ggdb -fstack-protector-all"
+ CMAKE_C_FLAGS_DEBUG "-O0 -g -ggdb -fstack-protector-all -fstack-reuse=none"
CMAKE_C_FLAGS_RELEASE "-O3 -ffast-math -ftree-vectorize -funsafe-loop-optimizations -march=core2 -mtune=native -mavx -flto -fipa-pta -fmerge-all-constants -static"
)