[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/04: gnu: pjproject-jami: Build without debugging assertions.
From: |
guix-commits |
Subject: |
04/04: gnu: pjproject-jami: Build without debugging assertions. |
Date: |
Sun, 12 Jul 2020 15:34:59 -0400 (EDT) |
cbaines pushed a commit to branch master
in repository guix.
commit c54b9afb87de599953566ecca24ba71bd48fd69a
Author: Jan Wielkiewicz <tona_kosmicznego_smiecia@interia.pl>
AuthorDate: Sun Jul 12 18:00:49 2020 +0200
gnu: pjproject-jami: Build without debugging assertions.
This fixes a bug where Jami crashes while disconnecting from an audio call.
* gnu/packages/jami.scm (pjproject-jami)[arguments]: Use -DNDEBUG flag.
Signed-off-by: Christopher Baines <mail@cbaines.net>
---
gnu/packages/jami.scm | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/jami.scm b/gnu/packages/jami.scm
index c2f65ee..85a0602 100644
--- a/gnu/packages/jami.scm
+++ b/gnu/packages/jami.scm
@@ -142,8 +142,10 @@
;; against pjproject-jami:
;; relocation R_X86_64_32S against `.rodata' can not be used
when
;; making a shared object;
- "CFLAGS=-fPIC"
- "CXXFLAGS=-fPIC")
+ ;; -DNDEBUG is needed to prevent assertion from happening and
+ ;; stopping the daemon.
+ "CFLAGS=-fPIC -DNDEBUG"
+ "CXXFLAGS=-fPIC -DNDEBUG")
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'make-git-checkout-writable