summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFranziskus Kiefer <franziskuskiefer@gmail.com>2017-11-22 17:59:09 +0100
committerFranziskus Kiefer <franziskuskiefer@gmail.com>2017-11-22 17:59:09 +0100
commit81d20c02af9de3137e7e61ceb18574c84a6c755a (patch)
treefd41c4b6c2be07db83fb6fb6f69fc366a965b4de
parent139cd002bc8a83b4c3f12030626698b619ac976d (diff)
downloadnss-hg-81d20c02af9de3137e7e61ceb18574c84a6c755a.tar.gz
Bug 1419173 - fix uint128 defines, r=ttaubert
Summary: We accidentally disabled uint128_t for the HACL curve in GYP builds. This is less nice but works. Reviewers: ttaubert Reviewed By: ttaubert Bug #: 1419173 Differential Revision: https://phabricator.services.mozilla.com/D274
-rw-r--r--lib/freebl/freebl.gyp13
1 files changed, 5 insertions, 8 deletions
diff --git a/lib/freebl/freebl.gyp b/lib/freebl/freebl.gyp
index c92b26f06..8b6a546e7 100644
--- a/lib/freebl/freebl.gyp
+++ b/lib/freebl/freebl.gyp
@@ -181,9 +181,6 @@
}],
],
'target_defaults': {
- 'variables': {
- 'have_int128_support': '0',
- },
'include_dirs': [
'mpi',
'ecl',
@@ -258,13 +255,13 @@
# The Makefile does version-tests on GCC, but we're not doing that here.
'HAVE_INT128_SUPPORT',
],
- 'variables': {
- 'have_int128_support': '1',
- },
+ }, {
+ 'defines': [
+ 'KRML_NOUINT128',
+ ],
}],
],
- }],
- [ 'have_int128_support!=1', {
+ }, {
'defines': [
'KRML_NOUINT128',
],