AIX has own assembler not GNU as that does not support --noexecstack. PR-URL: https://github.com/nodejs/node/pull/25381 Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: Shigeki Ohtsu <ohtsu@ohtsu.org>
47 lines
1.2 KiB
Go Template
47 lines
1.2 KiB
Go Template
{
|
|
'variables': {
|
|
'openssl_sources': [
|
|
%%- foreach $src (@libssl_srcs) {
|
|
$OUT .= " 'openssl/$src',\n";
|
|
}
|
|
foreach $src (@libcrypto_srcs) {
|
|
$OUT .= " 'openssl/$src',\n";
|
|
} -%% ],
|
|
'openssl_sources_%%-$arch-%%': [
|
|
%%- foreach $src (@generated_srcs) {
|
|
$OUT .= " './config/archs/$arch/$asm/$src',\n";
|
|
} -%% ],
|
|
'openssl_defines_%%-$arch-%%': [
|
|
%%- foreach $define (@{$config{defines}}) {
|
|
$OUT .= " '$define',\n";
|
|
}
|
|
foreach $define (@lib_cppflags) {
|
|
$OUT .= " '$define',\n";
|
|
}
|
|
foreach $define (@{$target{defines}}) {
|
|
$OUT .= " '$define',\n";
|
|
}
|
|
foreach $define (@{$config{lib_defines}}) {
|
|
$OUT .= " '$define',\n";
|
|
} -%% ],
|
|
'openssl_cflags_%%-$arch-%%': [
|
|
%%- foreach $cflag (@cflags) {
|
|
$OUT .= " '$cflag',\n";
|
|
} -%% ],
|
|
'openssl_ex_libs_%%-$arch-%%': [
|
|
'%%-$target{ex_libs}-%%',
|
|
],
|
|
},
|
|
'include_dirs': [
|
|
'.',
|
|
'./include',
|
|
'./crypto',
|
|
'./crypto/include/internal',
|
|
],
|
|
'defines': ['<@(openssl_defines_%%-$arch-%%)'],
|
|
%%- if (!$is_win) {
|
|
$OUT = " 'cflags' : ['<@(openssl_cflags_$arch)'],
|
|
'libraries': ['<@(openssl_ex_libs_$arch)'],";
|
|
} -%%
|
|
'sources': ['<@(openssl_sources)', '<@(openssl_sources_%%-$arch-%%)'],
|
|
}
|