void-packages/srcpkgs/catimg/patches/fix-cflags.patch

13 lines
497 B
Diff

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)