me
/
guix
Archived
1
0
Fork 0

gnu: uim: Fix build with GCC 10.

* gnu/packages/xorg.scm (uim)[arguments]: Pass "-O2 -g -fcommon"
to #:configure-flags.

Signed-off-by: Leo Famulari <leo@famulari.name>
master
Lu Hui 2022-01-01 15:53:22 +08:00 committed by Leo Famulari
parent 1dca8a19ef
commit b2ed92ec58
No known key found for this signature in database
GPG Key ID: 2646FA30BACA7F08
1 changed files with 3 additions and 1 deletions

View File

@ -32,6 +32,7 @@
;;; Copyright © 2021 Matthew James Kraai <kraai@ftbfs.org>
;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
;;; Copyright © 2021 qblade <qblade@protonmail.com>
;;; Copyright © 2021 Lu Hui <luhux76@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@ -6467,7 +6468,8 @@ X11 servers, Windows, or macOS.")
(list "--with-anthy-utf8"
(string-append "--with-lispdir=" %output "/share/emacs")
;; Set proper runpath
(string-append "LDFLAGS=-Wl,-rpath=" %output "/lib"))
(string-append "LDFLAGS=-Wl,-rpath=" %output "/lib")
"CFLAGS=-O2 -g -fcommon")
#:phases
(modify-phases %standard-phases
;; Set path of uim-el-agent and uim-el-helper-agent executables