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

14 lines
571 B
Diff
Raw Normal View History

2021-03-26 02:46:56 +01:00
Index: bibletime-3.0/cmake/BTApplication.cmake
===================================================================
--- bibletime-3.0.orig/cmake/BTApplication.cmake
+++ bibletime-3.0/cmake/BTApplication.cmake
@@ -41,7 +41,7 @@ IF(WIN32)
ADD_COMPILE_OPTIONS("/Zi")
ELSE()
ADD_COMPILE_OPTIONS(
- "-ggdb" "-Wall" "-Wextra"
+ "-Wall" "-Wextra" "-DNDEBUG" "-DQT_NO_DEBUG"
"$<$<STREQUAL:$<CONFIGURATION>,Release>:-O2>"
"$<$<STREQUAL:$<CONFIGURATION>,Release>:-DNDEBUG>"
"$<$<STREQUAL:$<CONFIGURATION>,Release>:-DQT_NO_DEBUG>"