Skip to content

Commit dad5755

Browse files
committed
Workaround abort(2) on compilation error on FreeBSD.
Same problem as OpenBSD, tracking bug #43575. Backport from #48494
1 parent ce69b39 commit dad5755

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/librustc_back/target/freebsd_base.rs

+1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ pub fn opts() -> TargetOptions {
3333
has_rpath: true,
3434
pre_link_args: args,
3535
position_independent_executables: true,
36+
eliminate_frame_pointer: false, // FIXME 43575
3637
relro_level: RelroLevel::Full,
3738
exe_allocation_crate: super::maybe_jemalloc(),
3839
.. Default::default()

0 commit comments

Comments
 (0)