public inbox for newlib@sourceware.org
 help / color / mirror / Atom feed
From: Chris Packham <judge.packham@gmail.com>
To: newlib@sourceware.org
Cc: Chris Packham <judge.packham@gmail.com>
Subject: [PATCH 2/2] config/mt-d30v: Append flags
Date: Sun, 28 May 2023 15:05:45 +1200	[thread overview]
Message-ID: <20230528030545.197558-3-judge.packham@gmail.com> (raw)
In-Reply-To: <20230528030545.197558-1-judge.packham@gmail.com>

Append to CFLAGS_FOR_TARGET/CXXFLAGS_FOR_TARGET rather than replacing
them.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
---
 config/mt-d30v | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/config/mt-d30v b/config/mt-d30v
index d34b774b3..f5081aef5 100644
--- a/config/mt-d30v
+++ b/config/mt-d30v
@@ -1,4 +1,4 @@
 # Build libraries optimizing for space, not speed.
 # Turn off warnings about symbols named the same as registers
- CFLAGS_FOR_TARGET = -g -Os -Wa,-C
- CXXFLAGS_FOR_TARGET = -g -Os -Wa,-C
+ CFLAGS_FOR_TARGET += -g -Os -Wa,-C
+ CXXFLAGS_FOR_TARGET += -g -Os -Wa,-C
-- 
2.40.1


  parent reply	other threads:[~2023-05-28  3:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-28  3:05 [PATCH 0/2] misc fixes from crosstool-ng Chris Packham
2023-05-28  3:05 ` [PATCH 1/2] m68k: disallow unaligned access for m68010 and m68020 Chris Packham
2023-05-28  3:05 ` Chris Packham [this message]
2023-05-30 17:56 ` [PATCH 0/2] misc fixes from crosstool-ng Jeff Johnston

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=20230528030545.197558-3-judge.packham@gmail.com \
    --to=judge.packham@gmail.com \
    --cc=newlib@sourceware.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).