From 5ad300f7eaa27dbfa8e342edd4deab0c9798d60f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Sat, 27 Mar 2021 12:36:19 +0700 Subject: [PATCH] glyr: don't force Release build --- srcpkgs/glyr/patches/fix-cflags.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 srcpkgs/glyr/patches/fix-cflags.patch diff --git a/srcpkgs/glyr/patches/fix-cflags.patch b/srcpkgs/glyr/patches/fix-cflags.patch new file mode 100644 index 00000000000..498ffe09a38 --- /dev/null +++ b/srcpkgs/glyr/patches/fix-cflags.patch @@ -0,0 +1,12 @@ +Index: CMakeLists.txt +=================================================================== +--- CMakeLists.txt.orig ++++ CMakeLists.txt +@@ -60,7 +60,6 @@ exec_program( + IF(CMAKE_BUILD_TYPE STREQUAL "debug") + SET(GLYR_DEBUG TRUE) + ELSE() +- SET(CMAKE_BUILD_TYPE "release") + SET(GLYR_DEBUG FALSE) + ENDIF() + MESSAGE("-- Building Target: ${CMAKE_BUILD_TYPE}")