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>
This commit is contained in:
Jan Wielkiewicz 2020-07-12 18:00:49 +02:00 committed by Christopher Baines
parent 1c15d30521
commit c54b9afb87
No known key found for this signature in database
GPG Key ID: 5E28A33B0B84F577
1 changed files with 4 additions and 2 deletions

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