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 #43575.
  • Loading branch information
bdrewery committed Feb 24, 2018
1 parent 27a046e commit 34b45c1
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 34b45c1

Please sign in to comment.