Skip to content

Commit

Permalink
set relocation-model to static
Browse files Browse the repository at this point in the history
  • Loading branch information
Jorge Aparicio committed Oct 2, 2016
1 parent e4c3263 commit 396b757
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/librustc_back/target/thumb_base.rs
Expand Up @@ -15,6 +15,7 @@ pub fn opts() -> TargetOptions {
TargetOptions {
executables: true,
linker: "arm-none-eabi-gcc".to_string(),
relocation_model: "static".to_string(),
.. Default::default()
}
}

0 comments on commit 396b757

Please sign in to comment.