Skip to content

Commit

Permalink
build: Don't set gcc_version for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacs committed Aug 15, 2012
1 parent afa5779 commit 8677860
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure
Original file line number Diff line number Diff line change
Expand Up @@ -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?
Expand Down

0 comments on commit 8677860

Please sign in to comment.