llvm: Set PIC level 1 for MIPS.
For hysterical raisins, MIPS always uses 1, regardless of `-fpic` vs `-fPIC`.
This commit is contained in:
@@ -53,10 +53,10 @@ pub const Module = opaque {
|
||||
extern fn LLVMDisposeModule(*Module) void;
|
||||
|
||||
pub const setModulePICLevel = ZigLLVMSetModulePICLevel;
|
||||
extern fn ZigLLVMSetModulePICLevel(module: *Module) void;
|
||||
extern fn ZigLLVMSetModulePICLevel(module: *Module, big: bool) void;
|
||||
|
||||
pub const setModulePIELevel = ZigLLVMSetModulePIELevel;
|
||||
extern fn ZigLLVMSetModulePIELevel(module: *Module) void;
|
||||
extern fn ZigLLVMSetModulePIELevel(module: *Module, large: bool) void;
|
||||
|
||||
pub const setModuleCodeModel = ZigLLVMSetModuleCodeModel;
|
||||
extern fn ZigLLVMSetModuleCodeModel(module: *Module, code_model: CodeModel) void;
|
||||
|
||||
Reference in New Issue
Block a user