unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: 路辉 <luhux76@gmail.com>
To: Leo Famulari <leo@famulari.name>
Cc: 52932@debbugs.gnu.org
Subject: [bug#52932] [PATCH] gnu: uim: Build with '-O2'.
Date: Sun, 2 Jan 2022 22:19:07 +0800	[thread overview]
Message-ID: <bfd93d65-9bbf-6c1c-8734-a0e18c1c72d5@gmail.com> (raw)
In-Reply-To: <YdEi+8Sxu1OoMrIK@jasmine.lan>

[-- Attachment #1: Type: text/plain, Size: 33 bytes --]

sorry, I'm careless.

New patch v

[-- Attachment #2: 0001-gnu-uim-Build-with-O2-g-fcommon.patch --]
[-- Type: text/x-patch, Size: 1292 bytes --]

From 7cf15ce69ac9a46a8d0d05891d84c17c59ba73c6 Mon Sep 17 00:00:00 2001
From: Lu Hui <luhux76@gmail.com>
Date: Sat, 1 Jan 2022 15:53:22 +0800
Subject: [PATCH] gnu: uim: Build with '-O2 -g -fcommon'.

* gnu/packages/xorg.scm (uim) [arguments]: Pass "-O2 -g -fcommon".
---
 gnu/packages/xorg.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm
index b09d95f770..fa747ebac4 100644
--- a/gnu/packages/xorg.scm
+++ b/gnu/packages/xorg.scm
@@ -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.
 ;;;
@@ -6446,7 +6447,8 @@ (define-public uim
        (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
-- 
2.34.0


  reply	other threads:[~2022-01-02 14:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-01 13:08 [bug#52932] [PATCH] gnu: uim: Build with '-O2' 路辉
2022-01-02  3:58 ` Leo Famulari
2022-01-02 14:19   ` 路辉 [this message]
2022-01-02 17:43     ` bug#52932: " Leo Famulari

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bfd93d65-9bbf-6c1c-8734-a0e18c1c72d5@gmail.com \
    --to=luhux76@gmail.com \
    --cc=52932@debbugs.gnu.org \
    --cc=leo@famulari.name \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).