removed Haiku from compiler targets, and tests

Signed-off-by: Ignacy Koper <ignacy423@gmail.com>
This commit is contained in:
Ignacy Koper
2026-04-28 16:08:38 +02:00
parent ad940e40ca
commit d1915fa6f5
16 changed files with 17 additions and 342 deletions

View File

@@ -791,11 +791,10 @@ try_cross_linking:;
// Do not disable PIE, let the linker choose. (most likely you want it enabled)
} else if (build_context.build_mode != BuildMode_DynamicLibrary) {
if (build_context.metrics.os != TargetOs_openbsd
&& build_context.metrics.os != TargetOs_haiku
&& build_context.metrics.arch != TargetArch_riscv64
&& !is_android
) {
// OpenBSD and Haiku default to PIE executable. do not pass -no-pie for it.
// OpenBSD defaults to PIE executable, do not pass -no-pie for it.
link_settings = gb_string_appendc(link_settings, "-no-pie ");
}
}