asm_arch => 'ppc64',
perlasm_scheme => "osx64",
},
- "darwin-i386-cc" => { inherit_from => [ "darwin-i386" ] }, # Historic alias
- "darwin-i386" => {
- inherit_from => [ "darwin-common" ],
- CFLAGS => add(picker(release => "-fomit-frame-pointer")),
- cflags => add("-arch i386"),
- lib_cppflags => add("-DL_ENDIAN"),
- bn_ops => "BN_LLONG RC4_INT",
- asm_arch => 'x86',
- perlasm_scheme => "macosx",
- },
"darwin64-x86_64-cc" => { inherit_from => [ "darwin64-x86_64" ] }, # Historic alias
"darwin64-x86_64" => {
inherit_from => [ "darwin-common" ],
return { target => "darwin-ppc" };
}
],
- [ 'i.86-apple-darwin.*',
- sub {
- my $KERNEL_BITS = $ENV{KERNEL_BITS} // '';
- my $ISA64 = `sysctl -n hw.optional.x86_64 2>/dev/null`;
- if ( $ISA64 == 1 && $KERNEL_BITS eq '' ) {
- print <<EOF;
-WARNING! To build 64-bit package, do this:
- KERNEL_BITS=64 $WHERE/Configure [options...]
-EOF
- maybe_abort();
- }
- return { target => "darwin64-x86_64" }
- if $ISA64 == 1 && $KERNEL_BITS eq '64';
- return { target => "darwin-i386" };
- }
- ],
[ 'x86_64-apple-darwin.*',
sub {
my $KERNEL_BITS = $ENV{KERNEL_BITS} // '';
return { target => "darwin64-x86_64" };
}
}
- return { target => "darwin-i386" } if $KERNEL_BITS eq '32';
-
- print <<EOF;
-WARNING! To build 32-bit package, do this:
- KERNEL_BITS=32 $WHERE/Configure [options...]
-EOF
- maybe_abort();
return { target => "darwin64-x86_64" };
}
],