summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2020-10-26 17:53:06 +0000
committerJon Turney <jon.turney@dronecode.org.uk>2020-11-02 16:49:03 +0000
commit5f3a301fd5b5b7bbee3d04805ef24139d616b5ea (patch)
tree59a50ef6698b8c218cdc1a983aafc5ecbfcc4bfa
parent22d79c79b5ebe398f16ec33f9687c6dfeb511b4a (diff)
downloadcygnal-5f3a301fd5b5b7bbee3d04805ef24139d616b5ea.tar.gz
cygnal-5f3a301fd5b5b7bbee3d04805ef24139d616b5ea.tar.bz2
cygnal-5f3a301fd5b5b7bbee3d04805ef24139d616b5ea.zip
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.
-rw-r--r--winsup/cygwin/Makefile.in2
1 files changed, 1 insertions, 1 deletions
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 $@ ] || \