* lib/target-supports.exp (add_options_for_tls): Add -pthread for