From 5b4bf54a00be17e49433582c237724ac4e653608 Mon Sep 17 00:00:00 2001 From: Jan-Benedict Glaw Date: Tue, 5 Oct 2021 17:08:23 +0200 Subject: [PATCH] Fix redefinition warning gcc/ChangeLog: * config/lm32/uclinux-elf.h (LINK_GCC_C_SEQUENCE_SPEC): Undefine before redefinition. --- 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}}"