gui-apps/hyprlock: 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:12:29 -07:00
parent f119322a6c
commit 44cf87a8c7
2 changed files with 13 additions and 1 deletions

View File

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

View File

@@ -43,5 +43,5 @@ BDEPEND="
"
PATCHES=(
"${FILESDIR}/0001-fix-CFLAGS-CXXFLAGS-hyprlock.patch"
"${FILESDIR}/0003-fix-CFLAGS-CXXFLAGS-hyprlock.patch"
)