From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1474) id B9883385AC3F; Tue, 5 Oct 2021 15:11:07 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B9883385AC3F MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Jan-Benedict Glaw To: gcc-cvs@gcc.gnu.org Subject: [gcc r12-4191] Fix redefinition warning X-Act-Checkin: gcc X-Git-Author: Jan-Benedict Glaw X-Git-Refname: refs/heads/master X-Git-Oldrev: 6da36b7d0e43b6f9281c65c19a025d4888a25b2d X-Git-Newrev: 5b4bf54a00be17e49433582c237724ac4e653608 Message-Id: <20211005151107.B9883385AC3F@sourceware.org> Date: Tue, 5 Oct 2021 15:11:07 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Oct 2021 15:11:07 -0000 https://gcc.gnu.org/g:5b4bf54a00be17e49433582c237724ac4e653608 commit r12-4191-g5b4bf54a00be17e49433582c237724ac4e653608 Author: Jan-Benedict Glaw 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}}"