gnu: libgadu: Build with '-fcommon'.

* gnu/packages/messaging.scm (libgadu)[arguments]: Build with '-fcommon'.
This commit is contained in:
Ludovic Courtès 2021-11-22 23:27:24 +01:00
parent 9404cd3301
commit 7463246394
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -311,9 +311,10 @@ (define-public libgadu
(base32 "1s16cripy5w9k12534qb012iwc5m9qcjyrywgsziyn3kl3i0aa8h"))))
(build-system gnu-build-system)
(arguments
;; 'test/manual/userconfig.h' contains definitions in lieu of
;; declarations, hence '-fcommon'.
`(#:configure-flags
(list
"--disable-static")
(list "--disable-static" "CFLAGS=-O2 -g -fcommon")
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'patch-shebangs