mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 20:11:17 +00:00
Change to DynamicNoPic on PIC none
This commit is contained in:
@@ -1061,7 +1061,7 @@ void *llvm_target_machine_create(void)
|
||||
else
|
||||
{
|
||||
assert(platform_target.pic == PIC_NONE);
|
||||
reloc_mode = LLVMRelocStatic;
|
||||
reloc_mode = LLVMRelocDynamicNoPic;
|
||||
}
|
||||
|
||||
void *result = LLVMCreateTargetMachine(target, platform_target.target_triple,
|
||||
|
||||
Reference in New Issue
Block a user