public inbox for cygwin-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] Cygwin: Drop passing '-c' compiler flag into gentls_offsets
@ 2020-11-02 19:42 Jon TURNEY
  0 siblings, 0 replies; only message in thread
From: Jon TURNEY @ 2020-11-02 19:42 UTC (permalink / raw)
  To: cygwin-cvs

https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=5f3a301fd5b5b7bbee3d04805ef24139d616b5ea

commit 5f3a301fd5b5b7bbee3d04805ef24139d616b5ea
Author: Jon Turney <jon.turney@dronecode.org.uk>
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.

Diff:
---
 winsup/cygwin/Makefile.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/winsup/cygwin/Makefile.in b/winsup/cygwin/Makefile.in
index 0add2320b..ec5d1efed 100644
--- a/winsup/cygwin/Makefile.in
+++ b/winsup/cygwin/Makefile.in
@@ -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) $(COMPILE.cc) -c || rm $@
+	$^ $@ $(target_cpu) $(COMPILE.cc) || rm $@
 
 sigfe.s: $(DEF_FILE)
 	@[ -s $@ ] || \


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-11-02 19:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-02 19:42 [newlib-cygwin] Cygwin: Drop passing '-c' compiler flag into gentls_offsets Jon TURNEY

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