gui-apps/hypridle: Fix CMakeLists patch, live

Signed-off-by: John M. Harris Jr. <johnmh@johnmh.me>
This commit is contained in:
John M. Harris Jr.
2024-07-22 09:05:28 -07:00
parent 6065d82d8d
commit f119322a6c
2 changed files with 13 additions and 1 deletions

View File

@@ -0,0 +1,12 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b7c9755..dd327cc 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -14,7 +14,6 @@ if(CMAKE_BUILD_TYPE MATCHES Debug OR CMAKE_BUILD_TYPE MATCHES DEBUG)
message(STATUS "Configuring hypridle in Debug with CMake")
add_compile_definitions(HYPRLAND_DEBUG)
else()
- add_compile_options(-O3)
message(STATUS "Configuring hypridle in Release with CMake")
endif()

View File

@@ -35,5 +35,5 @@ BDEPEND="
"
PATCHES=(
"${FILESDIR}/0001-fix-CFLAGS-CXXFLAGS-hypridle.patch"
"${FILESDIR}/0002-fix-CFLAGS-CXXFLAGS-hypridle.patch"
)