From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1709) id BFC623858421; Thu, 8 Sep 2022 15:15:43 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BFC623858421 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1662650143; bh=6ajPsPw9fENkQ0O8vnWwNoL6P4m4j43KIK83k22Mo10=; h=From:To:Subject:Date:From; b=Y2+NgntMuA99kpetqGKTVmExbj2o7Z5+dflrgAxktL/tNvJr6KExbZjJmpqyxJoCE TzGVTPlTsEB+IF5qXxxLdaYsy+sPembHgTOR07odOI2W385WrlW7nzgsdpWg/s2BMX h/EYYBVV3Qe3yTVDoU0IEOyHDC+VvocWJ/TE5zRA= MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Chung-Lin Tang To: gcc-cvs@gcc.gnu.org Subject: [gcc r13-2543] nios2: Add #undef of MUSL_DYNAMIC_LINKER X-Act-Checkin: gcc X-Git-Author: Chung-Lin Tang X-Git-Refname: refs/heads/master X-Git-Oldrev: f7280b04714c24af2854cf020b6e7b6ad3b7fba8 X-Git-Newrev: 0697bd070c4fffb33468976c93baff9493922fb3 Message-Id: <20220908151543.BFC623858421@sourceware.org> Date: Thu, 8 Sep 2022 15:15:43 +0000 (GMT) List-Id: https://gcc.gnu.org/g:0697bd070c4fffb33468976c93baff9493922fb3 commit r13-2543-g0697bd070c4fffb33468976c93baff9493922fb3 Author: Chung-Lin Tang Date: Thu Sep 8 23:14:38 2022 +0800 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. Diff: --- gcc/config/nios2/linux.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gcc/config/nios2/linux.h b/gcc/config/nios2/linux.h index f5dd813acad..9e53dd657e4 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