bootstrap: avoid m4 -B for NetBSD-built sparc64 OpenSSL

This commit is contained in:
Jonathan A. Kollasch 2017-08-31 09:36:10 -05:00
parent 2047a0d083
commit 847d1ffbe9

View File

@ -439,6 +439,11 @@ fn run(self, builder: &Builder) {
if target == "sparc64-unknown-netbsd" {
// Need -m64 to get assembly generated correctly for sparc64.
configure.arg("-m64");
if build.build.contains("netbsd") {
// Disable sparc64 asm on NetBSD builders, it uses
// m4(1)'s -B flag, which NetBSD m4 does not support.
configure.arg("no-asm");
}
}
// Make PIE binaries
// Non-PIE linker support was removed in Lollipop