From 86778607c94afa11ef4d42f50674be4eb1476fda Mon Sep 17 00:00:00 2001 From: isaacs Date: Wed, 15 Aug 2012 11:28:52 -0700 Subject: [PATCH] build: Don't set gcc_version for Windows --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 530473058a..a801b65733 100755 --- a/configure +++ b/configure @@ -342,7 +342,7 @@ def configure_node(o): cc_version, is_clang = compiler_version() o['variables']['clang'] = 1 if is_clang else 0 - if not is_clang: + if not is_clang and cc_version != 0: o['variables']['gcc_version'] = 10 * cc_version[0] + cc_version[1] # clang has always supported -fvisibility=hidden, right?