rust: fix target generation add 'has-elf-tls'

This field defaults to false but for all of our targets it should be
true.

Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
This commit is contained in:
Doug Goldstein
2016-04-07 08:47:38 -05:00
parent 7ebb23fad9
commit 71ac5fa78e
+1
View File
@@ -218,6 +218,7 @@ def rust_gen_target(d, thing, wd):
tspec['morestack'] = True tspec['morestack'] = True
tspec['linker-is-gnu'] = True tspec['linker-is-gnu'] = True
tspec['has-rpath'] = True tspec['has-rpath'] = True
tspec['has-elf-tls'] = True
tspec['position-independent-executables'] = True tspec['position-independent-executables'] = True
tspec['pre-link-args'] = pre_link_args_for(d, thing, arch) tspec['pre-link-args'] = pre_link_args_for(d, thing, arch)
tspec['post-link-args'] = post_link_args_for(d, thing, arch) tspec['post-link-args'] = post_link_args_for(d, thing, arch)