From: isaacs Date: Wed, 15 Aug 2012 18:28:52 +0000 (-0700) Subject: build: Don't set gcc_version for Windows X-Git-Tag: v0.8.7~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=86778607c94afa11ef4d42f50674be4eb1476fda;p=platform%2Fupstream%2Fnodejs.git build: Don't set gcc_version for Windows --- diff --git a/configure b/configure index 5304730..a801b65 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?