mirror of
https://github.com/odin-lang/Odin.git
synced 2026-06-06 10:44:06 +00:00
-target-features:<string>
This just passes a string directly to the LLVM features string
This commit is contained in:
@@ -1298,6 +1298,10 @@ void lb_generate_code(lbGenerator *gen) {
|
||||
}
|
||||
}
|
||||
|
||||
if (build_context.target_features.len != 0) {
|
||||
llvm_features = alloc_cstring(permanent_allocator(), build_context.target_features);
|
||||
}
|
||||
|
||||
// GB_ASSERT_MSG(LLVMTargetHasAsmBackend(target));
|
||||
|
||||
LLVMCodeGenOptLevel code_gen_level = LLVMCodeGenLevelNone;
|
||||
|
||||
Reference in New Issue
Block a user