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.
This commit is contained in:
Jon Turney 2020-10-26 17:53:06 +00:00
parent 22d79c79b5
commit 5f3a301fd5
No known key found for this signature in database
GPG Key ID: C7C86F0370285C81
1 changed files with 1 additions and 1 deletions

View File

@ -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 $@ ] || \