aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan-Benedict Glaw <jbglaw@lug-owl.de>2021-10-05 17:08:23 +0200
committerJan-Benedict Glaw <jbglaw@lug-owl.de>2021-10-05 17:08:23 +0200
commit5b4bf54a00be17e49433582c237724ac4e653608 (patch)
tree36ee74875e14e92d4b8de95d30c15aa9399e593b
parent6da36b7d0e43b6f9281c65c19a025d4888a25b2d (diff)
downloadgcc-5b4bf54a00be17e49433582c237724ac4e653608.zip
gcc-5b4bf54a00be17e49433582c237724ac4e653608.tar.gz
gcc-5b4bf54a00be17e49433582c237724ac4e653608.tar.bz2
Fix redefinition warning
gcc/ChangeLog: * config/lm32/uclinux-elf.h (LINK_GCC_C_SEQUENCE_SPEC): Undefine before redefinition.
-rw-r--r--gcc/config/lm32/uclinux-elf.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/config/lm32/uclinux-elf.h b/gcc/config/lm32/uclinux-elf.h
index 370df4c5..5b638fa 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}}"