Browse Source

build: Don't set gcc_version for Windows

v0.8.7-release
isaacs 13 years ago
parent
commit
86778607c9
  1. 2
      configure

2
configure

@ -342,7 +342,7 @@ def configure_node(o):
cc_version, is_clang = compiler_version() cc_version, is_clang = compiler_version()
o['variables']['clang'] = 1 if is_clang else 0 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] o['variables']['gcc_version'] = 10 * cc_version[0] + cc_version[1]
# clang has always supported -fvisibility=hidden, right? # clang has always supported -fvisibility=hidden, right?

Loading…
Cancel
Save