[PATCH 7/7] Drop passing '-c' compiler flag into gentls_offsets
Jon Turney
jon.turney@dronecode.org.uk
Sat Oct 31 15:08:21 GMT 2020
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 $@ ] || \
--
2.29.0
More information about the Cygwin-patches
mailing list