Skip to content

Commit ff7f818

Browse files
committed
change to static relocation model
1 parent 139ca10 commit ff7f818

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎compiler/rustc_target/src/spec/targets/m68k_unknown_none_elf.rs‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
usecrate::abi::Endian;
2-
usecrate::spec::{CodeModel,PanicStrategy,Target,TargetOptions};
2+
usecrate::spec::{CodeModel,PanicStrategy,RelocModel,Target,TargetOptions};
33

44
pub(crate)fntarget() -> Target{
55
let options = TargetOptions{
@@ -13,6 +13,7 @@ pub(crate) fn target() -> Target {
1313
has_rpath:false,
1414
// should be soft-float
1515
llvm_floatabi:None,
16+
relocation_model:RelocModel::Static,
1617
..Default::default()
1718
};
1819

0 commit comments

Comments
 (0)