bibletime: clean build flags
This commit is contained in:
parent
9194e1a3a9
commit
02e0695862
2 changed files with 14 additions and 0 deletions
13
srcpkgs/bibletime/patches/fix-cflags.patch
Normal file
13
srcpkgs/bibletime/patches/fix-cflags.patch
Normal file
|
@ -0,0 +1,13 @@
|
|||
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>"
|
|
@ -18,6 +18,7 @@ license="GPL-2.0-or-later"
|
|||
homepage="http://bibletime.info"
|
||||
distfiles="https://github.com/bibletime/bibletime/releases/download/v${version}/bibletime-${version}.tar.xz"
|
||||
checksum=d6beef62ad44b255e3dc4c5e89214bf01a0e85c9136073b0be12fca3d2b22622
|
||||
patch_args=-Np1
|
||||
|
||||
pre_build() {
|
||||
. /etc/profile.d/10_openjdk11.sh
|
||||
|
|
Loading…
Reference in a new issue