compiler: update freebsd and netbsd base specs.
both support thread local.
This commit is contained in:
parent
867d39cdf6
commit
dec4740b7c
3 changed files with 3 additions and 0 deletions
|
@ -8,6 +8,7 @@ pub fn opts() -> TargetOptions {
|
||||||
has_rpath: true,
|
has_rpath: true,
|
||||||
position_independent_executables: true,
|
position_independent_executables: true,
|
||||||
relro_level: RelroLevel::Full,
|
relro_level: RelroLevel::Full,
|
||||||
|
has_thread_local: true,
|
||||||
default_dwarf_version: 2,
|
default_dwarf_version: 2,
|
||||||
..Default::default()
|
..Default::default()
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,6 +9,7 @@ pub fn opts() -> TargetOptions {
|
||||||
crt_static_respected: true,
|
crt_static_respected: true,
|
||||||
position_independent_executables: true,
|
position_independent_executables: true,
|
||||||
relro_level: RelroLevel::Full,
|
relro_level: RelroLevel::Full,
|
||||||
|
has_thread_local: true,
|
||||||
abi_return_struct_as_int: true,
|
abi_return_struct_as_int: true,
|
||||||
default_dwarf_version: 2,
|
default_dwarf_version: 2,
|
||||||
..Default::default()
|
..Default::default()
|
||||||
|
|
|
@ -9,6 +9,7 @@ pub fn opts() -> TargetOptions {
|
||||||
has_rpath: true,
|
has_rpath: true,
|
||||||
position_independent_executables: true,
|
position_independent_executables: true,
|
||||||
relro_level: RelroLevel::Full,
|
relro_level: RelroLevel::Full,
|
||||||
|
has_thread_local: true,
|
||||||
use_ctors_section: true,
|
use_ctors_section: true,
|
||||||
default_dwarf_version: 2,
|
default_dwarf_version: 2,
|
||||||
..Default::default()
|
..Default::default()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue