summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-10-06 12:07:37 +0200
committerStanislaw Halik <sthalik@misaki.pl>2024-10-06 12:07:37 +0200
commit025ba1f63ac954eb62fe51e19554f3fb4b4e1a5c (patch)
tree2b1af2f202e740f212e40b9e78808a154e5acb31
parent09ebc8b07f65ebdbd321bcd568074eb7301a7556 (diff)
cmake: fix clang 19 deprecated cflags
-rw-r--r--userconfig-sthalik@Windows-Clang.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/userconfig-sthalik@Windows-Clang.cmake b/userconfig-sthalik@Windows-Clang.cmake
index cb03a067..9bf1e7c8 100644
--- a/userconfig-sthalik@Windows-Clang.cmake
+++ b/userconfig-sthalik@Windows-Clang.cmake
@@ -32,7 +32,7 @@ set(CMAKE_INSTALL_MESSAGE NEVER)
sets(STRING
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_C_FLAGS_RELEASE "-O3 -ffast-math -mpopcnt -fomit-frame-pointer -fno-stack-protector -static"
CMAKE_EXE_LINKER_FLAGS_DEBUG ""
CMAKE_SHARED_LINKER_FLAGS_DEBUG ""
)