Comment -O3 for no GCC optimizations

This commit is contained in:
vaxerski 2022-04-13 18:36:14 +02:00
parent 34fbdde45c
commit b83f9dce6f
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ ENDIF(LEGACY_RENDERER MATCHES true)
IF(CMAKE_BUILD_TYPE MATCHES Debug OR CMAKE_BUILD_TYPE MATCHES DEBUG)
message(STATUS "Configuring Hyprland in Debug with CMake!")
ELSE()
add_compile_options(-O3)
# add_compile_options(-O3) # may crash for some
message(STATUS "Configuring Hyprland in Release with CMake!")
ENDIF(CMAKE_BUILD_TYPE MATCHES Debug OR CMAKE_BUILD_TYPE MATCHES DEBUG)