File tree 1 file changed +5
-0
lines changed
1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -416,6 +416,7 @@ impl Step for Openssl {
416
416
"powerpc64-unknown-linux-gnu" => "linux-ppc64" ,
417
417
"powerpc64le-unknown-linux-gnu" => "linux-ppc64le" ,
418
418
"s390x-unknown-linux-gnu" => "linux64-s390x" ,
419
+ "sparc64-unknown-netbsd" => "BSD-sparc64" ,
419
420
"x86_64-apple-darwin" => "darwin64-x86_64-cc" ,
420
421
"x86_64-linux-android" => "linux-x86_64" ,
421
422
"x86_64-unknown-freebsd" => "BSD-x86_64" ,
@@ -435,6 +436,10 @@ impl Step for Openssl {
435
436
configure. arg ( "-mandroid" ) ;
436
437
configure. arg ( "-fomit-frame-pointer" ) ;
437
438
}
439
+ if target == "sparc64-unknown-netbsd" {
440
+ // Need -m64 to get assembly generated correctly for sparc64.
441
+ configure. arg ( "-m64" ) ;
442
+ }
438
443
// Make PIE binaries
439
444
// Non-PIE linker support was removed in Lollipop
440
445
// https://source.android.com/security/enhancements/enhancements50
You can’t perform that action at this time.
0 commit comments