public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Jan-Benedict Glaw <jbglaw@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc r12-4191] Fix redefinition warning
Date: Tue,  5 Oct 2021 15:11:07 +0000 (GMT)	[thread overview]
Message-ID: <20211005151107.B9883385AC3F@sourceware.org> (raw)

https://gcc.gnu.org/g:5b4bf54a00be17e49433582c237724ac4e653608

commit r12-4191-g5b4bf54a00be17e49433582c237724ac4e653608
Author: Jan-Benedict Glaw <jbglaw@lug-owl.de>
Date:   Tue Oct 5 17:08:23 2021 +0200

    Fix redefinition warning
    
    gcc/ChangeLog:
    
            * config/lm32/uclinux-elf.h (LINK_GCC_C_SEQUENCE_SPEC):
            Undefine before redefinition.

Diff:
---
 gcc/config/lm32/uclinux-elf.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gcc/config/lm32/uclinux-elf.h b/gcc/config/lm32/uclinux-elf.h
index 370df4c55dd..5b638fa5db2 100644
--- a/gcc/config/lm32/uclinux-elf.h
+++ b/gcc/config/lm32/uclinux-elf.h
@@ -67,6 +67,7 @@
 
 #define TARGET_OS_CPP_BUILTINS() GNU_USER_TARGET_OS_CPP_BUILTINS()
 
+#undef LINK_GCC_C_SEQUENCE_SPEC
 #define LINK_GCC_C_SEQUENCE_SPEC \
   "%{static|static-pie:--start-group} %G %{!nolibc:%L} \
    %{static|static-pie:--end-group}%{!static:%{!static-pie:%G}}"


                 reply	other threads:[~2021-10-05 15:11 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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

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

  git send-email \
    --in-reply-to=20211005151107.B9883385AC3F@sourceware.org \
    --to=jbglaw@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.org \
    /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.
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).