Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Bug 1550708 - NSS gyp build system should produce libfreebl_64fpu_3.s…
…o for Solaris SPARC r=jcj

Differential Revision: https://phabricator.services.mozilla.com/D30628

--HG--
extra : moz-landing-system : lando
  • Loading branch information
psumbera committed Jun 5, 2019
1 parent ae576df commit 8f52567
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 1 deletion.
37 changes: 37 additions & 0 deletions lib/freebl/freebl.gyp
Expand Up @@ -222,6 +222,43 @@
]
},
},
{
'target_name': 'freebl_64int_3',
'includes': [
'freebl_base.gypi',
],
'type': 'shared_library',
'dependencies': [
'<(DEPTH)/exports.gyp:nss_exports',
'hw-acc-crypto',
],
},
{
'target_name': 'freebl_64fpu_3',
'includes': [
'freebl_base.gypi',
],
'type': 'shared_library',
'sources': [
'mpi/mpi_sparc.c',
'mpi/mpv_sparcv9.s',
'mpi/montmulfv9.s',
],
'dependencies': [
'<(DEPTH)/exports.gyp:nss_exports',
'hw-acc-crypto',
],
'asflags_mozilla': [
'-mcpu=v9', '-Wa,-xarch=v9a'
],
'defines': [
'MP_NO_MP_WORD',
'MP_USE_UINT_DIGIT',
'MP_ASSEMBLY_MULTIPLY',
'MP_USING_MONT_MULF',
'MP_MONT_USE_MP_MUL',
],
},
],
'conditions': [
[ 'OS=="linux"', {
Expand Down
11 changes: 10 additions & 1 deletion nss.gyp
Expand Up @@ -13,10 +13,19 @@
'type': 'none',
'dependencies': [
'lib/ckfw/builtins/builtins.gyp:nssckbi',
'lib/freebl/freebl.gyp:freebl3',
'lib/softoken/softoken.gyp:softokn3',
],
'conditions': [
[ 'OS=="solaris" and target_arch=="sparc64"', {
'dependencies': [
'lib/freebl/freebl.gyp:freebl_64int_3',
'lib/freebl/freebl.gyp:freebl_64fpu_3',
],
}, {
'dependencies': [
'lib/freebl/freebl.gyp:freebl3',
],
}],
[ 'moz_fold_libs==0', {
'dependencies': [
'lib/nss/nss.gyp:nss3',
Expand Down

0 comments on commit 8f52567

Please sign in to comment.