Skip to content

Commit

Permalink
Workaround abort(2) on compilation error on FreeBSD.
Browse files Browse the repository at this point in the history
Same problem as OpenBSD, tracking bug rust-lang#43575.

Backport from rust-lang#48494
  • Loading branch information
bdrewery committed Mar 14, 2018
1 parent ce69b39 commit dad5755
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/librustc_back/target/freebsd_base.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ pub fn opts() -> TargetOptions {
has_rpath: true,
pre_link_args: args,
position_independent_executables: true,
eliminate_frame_pointer: false, // FIXME 43575
relro_level: RelroLevel::Full,
exe_allocation_crate: super::maybe_jemalloc(),
.. Default::default()
Expand Down

0 comments on commit dad5755

Please sign in to comment.