summary refs log tree commit diff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2021-11-22 23:27:24 +0100
committerLudovic Courtès <ludo@gnu.org>2021-11-22 23:50:55 +0100
commit74632463940b07e9f50aa0784e7d36f2e3924b99 (patch)
tree72bac1b4fee2514e3c6bfdc3b0c531c09fff6928
parent9404cd33010daa893cd054d6adae07f54e19ba89 (diff)
downloadguix-74632463940b07e9f50aa0784e7d36f2e3924b99.tar.gz
gnu: libgadu: Build with '-fcommon'.
* gnu/packages/messaging.scm (libgadu)[arguments]: Build with '-fcommon'.
-rw-r--r--gnu/packages/messaging.scm5
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index fd207e8253..e7e5b75aca 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -311,9 +311,10 @@ user interfaces in a fast and easy way.  It is based on GLib and ncurses.")
         (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