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:
parent
22d79c79b5
commit
5f3a301fd5
|
@ -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,$^)
|
$(word 1,$^) --cpu=${target_cpu} --output-def=$@ --tlsoffsets=$(word 2,$^) $(wordlist 3,99,$^)
|
||||||
|
|
||||||
$(srcdir)/$(TLSOFFSETS_H): gentls_offsets cygtls.h
|
$(srcdir)/$(TLSOFFSETS_H): gentls_offsets cygtls.h
|
||||||
$^ $@ $(target_cpu) $(COMPILE.cc) -c || rm $@
|
$^ $@ $(target_cpu) $(COMPILE.cc) || rm $@
|
||||||
|
|
||||||
sigfe.s: $(DEF_FILE)
|
sigfe.s: $(DEF_FILE)
|
||||||
@[ -s $@ ] || \
|
@[ -s $@ ] || \
|
||||||
|
|
Loading…
Reference in New Issue