summaryrefslogtreecommitdiff
path: root/deps/openssl/openssl_common.gypi
diff options
context:
space:
mode:
authorMichaël Zasso <targos@protonmail.com>2019-10-09 10:36:52 +0200
committerMichaël Zasso <targos@protonmail.com>2019-10-13 20:28:17 +0200
commit6c205aba00d8a3ebad95eec60b0fcee46484cf4a (patch)
tree7327978c5d1c1b22efdf11a2ec23c184e62e21d4 /deps/openssl/openssl_common.gypi
parent66b953207d6f0e9c98155af97147a731b2e461bd (diff)
downloadandroid-node-v8-6c205aba00d8a3ebad95eec60b0fcee46484cf4a.tar.gz
android-node-v8-6c205aba00d8a3ebad95eec60b0fcee46484cf4a.tar.bz2
android-node-v8-6c205aba00d8a3ebad95eec60b0fcee46484cf4a.zip
build: always use strings for compiler version in gyp files
If GYP finds a string variable that can be converted to an integer, it will do it when the variable is expanded. Use "0.0" instead of "0" to force strings and be able to use comparison operations such as `gas_version >= "2.26"` in Python 3. PR-URL: https://github.com/nodejs/node/pull/29897 Reviewed-By: Christian Clauss <cclauss@me.com> Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
Diffstat (limited to 'deps/openssl/openssl_common.gypi')
-rw-r--r--deps/openssl/openssl_common.gypi2
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/openssl/openssl_common.gypi b/deps/openssl/openssl_common.gypi
index c4b95c20ae..67640a6325 100644
--- a/deps/openssl/openssl_common.gypi
+++ b/deps/openssl/openssl_common.gypi
@@ -64,7 +64,7 @@
'TERMIOS',
],
'conditions': [
- [ 'llvm_version==0', {
+ [ 'llvm_version=="0.0"', {
'cflags': ['-Wno-old-style-declaration',],
}],
],