Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

build: Fix gcc version check and remove unused module import

  • Loading branch information...
commit 031e9b3c2da1dd02a45ccdc8cf4639bdf952eace 1 parent 78db187
@shigeki authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  configure
View
3  configure
@@ -5,7 +5,6 @@ import pprint
import re
import subprocess
import sys
-from distutils.version import StrictVersion
root_dir = os.path.dirname(__file__)
sys.path.insert(0, os.path.join(root_dir, 'deps', 'v8', 'tools'))
@@ -212,7 +211,7 @@ def configure_node(o):
# see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45883
# see http://code.google.com/p/v8/issues/detail?id=884
# TODO handle CC=clang
- o['variables']['strict_aliasing'] = b(gcc_version() >= (False, 4, 6, 0))
+ o['variables']['strict_aliasing'] = b(gcc_version() >= [False, 4, 6, 0])
# TODO move to node.gyp
if sys.platform == 'sunos5':
Please sign in to comment.
Something went wrong with that request. Please try again.