Browse Source

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>
gn-latest-20200725
Jan Wielkiewicz 1 year ago
committed by Christopher Baines
parent
commit
c54b9afb87
No known key found for this signature in database GPG Key ID: 5E28A33B0B84F577
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      gnu/packages/jami.scm

+ 4
- 2
gnu/packages/jami.scm View File

@ -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


Loading…
Cancel
Save