blob: 2f2b3ccc423b8cbddb1167db23f2c1b111218a36 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
Return struct like OpenBSD, see src/librustc_trans/cabi_x86.rs
--- src/librustc_back/target/freebsd_base.rs.orig 2017-11-22 21:33:00 UTC
+++ src/librustc_back/target/freebsd_base.rs
@@ -31,6 +31,8 @@ pub fn opts() -> TargetOptions {
target_family: Some("unix".to_string()),
linker_is_gnu: true,
has_rpath: true,
+ is_like_openbsd: true,
+ eliminate_frame_pointer: false,
pre_link_args: args,
position_independent_executables: true,
relro_level: RelroLevel::Full,
|