From 5f3a301fd5b5b7bbee3d04805ef24139d616b5ea Mon Sep 17 00:00:00 2001 From: Jon Turney Date: Mon, 26 Oct 2020 17:53:06 +0000 Subject: [PATCH] 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/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 $@ ] || \