Enable Static Builds for FreeBSD
Enable crt-static for FreeBSD to enable statically compiled binaries.
This commit is contained in:
parent
d73bd3fb3b
commit
adce3fd99b
2 changed files with 8 additions and 1 deletions
|
@ -6,6 +6,7 @@ pub fn opts() -> TargetOptions {
|
|||
dynamic_linking: true,
|
||||
families: cvs!["unix"],
|
||||
has_rpath: true,
|
||||
crt_static_respected: true,
|
||||
position_independent_executables: true,
|
||||
relro_level: RelroLevel::Full,
|
||||
abi_return_struct_as_int: true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue