catimg: don't change our build-type
This commit is contained in:
parent
53040b54a1
commit
c59ddcce6a
2 changed files with 13 additions and 1 deletions
12
srcpkgs/catimg/patches/fix-cflags.patch
Normal file
12
srcpkgs/catimg/patches/fix-cflags.patch
Normal 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)
|
||||
|
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue