public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-4191] Fix redefinition warning
@ 2021-10-05 15:11 Jan-Benedict Glaw
  0 siblings, 0 replies; only message in thread
From: Jan-Benedict Glaw @ 2021-10-05 15:11 UTC (permalink / raw)
  To: gcc-cvs

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}}"


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-10-05 15:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-05 15:11 [gcc r12-4191] Fix redefinition warning Jan-Benedict Glaw

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).