aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorChung-Lin Tang <cltang@codesourcery.com>2022-09-08 23:14:38 +0800
committerChung-Lin Tang <cltang@codesourcery.com>2022-09-08 23:14:38 +0800
commit0697bd070c4fffb33468976c93baff9493922fb3 (patch)
tree75fab8dd01bf0c5b5dbeb411feb37202ad487683 /gcc
parentf7280b04714c24af2854cf020b6e7b6ad3b7fba8 (diff)
downloadgcc-0697bd070c4fffb33468976c93baff9493922fb3.zip
gcc-0697bd070c4fffb33468976c93baff9493922fb3.tar.gz
gcc-0697bd070c4fffb33468976c93baff9493922fb3.tar.bz2
nios2: Add #undef of MUSL_DYNAMIC_LINKER
Add #undef of MUSL_DYNAMIC_LINKER before #define, to satisfy build checks when configured with --enable-werror-always. gcc/ChangeLog: * config/nios2/linux.h (MUSL_DYNAMIC_LINKER): Add #undef before #define.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/nios2/linux.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/config/nios2/linux.h b/gcc/config/nios2/linux.h
index f5dd813..9e53dd6 100644
--- a/gcc/config/nios2/linux.h
+++ b/gcc/config/nios2/linux.h
@@ -30,6 +30,8 @@
#define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT}"
#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux-nios2.so.1"
+
+#undef MUSL_DYNAMIC_LINKER
#define MUSL_DYNAMIC_LINKER "/lib/ld-musl-nios2.so.1"
#undef LINK_SPEC