mirror of
https://github.com/odin-lang/Odin.git
synced 2026-08-27 23:41:31 +00:00
[no-plt] restricted to llvm 19+
This commit is contained in:
@@ -1906,7 +1906,7 @@ gb_internal void init_build_context(TargetMetrics *cross_target, Subtarget subta
|
||||
switch (metrics->arch) {
|
||||
case TargetArch_arm64:
|
||||
case TargetArch_amd64:
|
||||
bc->no_plt = true;
|
||||
bc->no_plt = LLVM_VERSION_MAJOR >= 19;
|
||||
break;
|
||||
}
|
||||
} else if (metrics->os == TargetOs_openbsd) {
|
||||
|
||||
Reference in New Issue
Block a user