Comment -O3 for no GCC optimizations

This commit is contained in:
vaxerski 2022-04-13 18:36:14 +02:00
parent 34fbdde45c
commit b83f9dce6f

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)