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.
This commit is contained in:
Chung-Lin Tang 2022-09-08 23:14:38 +08:00
parent f7280b0471
commit 0697bd070c

View File

@ -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