public inbox for
help / color / mirror / Atom feed
From: Jon TURNEY <>
Subject: [newlib-cygwin] Cygwin: Drop passing '-c' compiler flag into gentls_offsets
Date: Mon,  2 Nov 2020 19:42:10 +0000 (GMT)	[thread overview]
Message-ID: <> (raw);h=5f3a301fd5b5b7bbee3d04805ef24139d616b5ea

commit 5f3a301fd5b5b7bbee3d04805ef24139d616b5ea
Author: Jon Turney <>
Date:   Mon Oct 26 17:53:06 2020 +0000

    Cygwin: Drop passing '-c' compiler flag into gentls_offsets
    That script appends a '-E', since we only use $(CC) to preprocess, and
    thus adding '-c' is having no effect.

 winsup/cygwin/ | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/winsup/cygwin/ b/winsup/cygwin/
index 0add2320b..ec5d1efed 100644
--- a/winsup/cygwin/
+++ b/winsup/cygwin/
@@ -761,7 +761,7 @@ $(DEF_FILE): gendef $(srcdir)/$(TLSOFFSETS_H) $(DIN_FILE)
 	$(word 1,$^) --cpu=${target_cpu} --output-def=$@  --tlsoffsets=$(word 2,$^) $(wordlist 3,99,$^)
 $(srcdir)/$(TLSOFFSETS_H): gentls_offsets cygtls.h
-	$^ $@ $(target_cpu) $( -c || rm $@
+	$^ $@ $(target_cpu) $( || rm $@
 sigfe.s: $(DEF_FILE)
 	@[ -s $@ ] || \

                 reply	other threads:[~2020-11-02 19:42 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:

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

  git send-email \ \ \ \

* 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).