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

View file

@ -142,8 +142,10 @@ (define-public pjproject-jami
;; against pjproject-jami: ;; against pjproject-jami:
;; relocation R_X86_64_32S against `.rodata' can not be used when ;; relocation R_X86_64_32S against `.rodata' can not be used when
;; making a shared object; ;; making a shared object;
"CFLAGS=-fPIC" ;; -DNDEBUG is needed to prevent assertion from happening and
"CXXFLAGS=-fPIC") ;; stopping the daemon.
"CFLAGS=-fPIC -DNDEBUG"
"CXXFLAGS=-fPIC -DNDEBUG")
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-after 'unpack 'make-git-checkout-writable (add-after 'unpack 'make-git-checkout-writable