public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Chung-Lin Tang <cltang@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc r13-2543] nios2: Add #undef of MUSL_DYNAMIC_LINKER
Date: Thu,  8 Sep 2022 15:15:43 +0000 (GMT)	[thread overview]
Message-ID: <20220908151543.BFC623858421@sourceware.org> (raw)

https://gcc.gnu.org/g:0697bd070c4fffb33468976c93baff9493922fb3

commit r13-2543-g0697bd070c4fffb33468976c93baff9493922fb3
Author: Chung-Lin Tang <cltang@codesourcery.com>
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

                 reply	other threads:[~2022-09-08 15:15 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220908151543.BFC623858421@sourceware.org \
    --to=cltang@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).