catimg: don't change our build-type

This commit is contained in:
Đoàn Trần Công Danh 2021-03-26 08:58:11 +07:00
parent 53040b54a1
commit c59ddcce6a
2 changed files with 13 additions and 1 deletions

View file

@ -0,0 +1,12 @@
Index: catimg-2.7.0/CMakeLists.txt
===================================================================
--- catimg-2.7.0.orig/CMakeLists.txt
+++ catimg-2.7.0/CMakeLists.txt
@@ -11,7 +11,6 @@ endif()
#set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -Wall -Wextra -g -std=c99 -Wno-unused-result")
#set(CMAKE_BUILD_TYPE Debug)
set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -Wall -Wextra -Os -std=c99 -Wno-unused-result")
-set(CMAKE_BUILD_TYPE Release)
set(SRC ${PROJECT_SOURCE_DIR}/src)

View file

@ -9,7 +9,7 @@ license="MIT"
homepage="https://github.com/posva/catimg"
distfiles="https://github.com/posva/catimg/archive/${version}.tar.gz"
checksum=3a6450316ff62fb07c3facb47ea208bf98f62abd02783e88c56f2a6508035139
patch_args=-Np1
CFLAGS="-fcommon"
post_install() {