build: fix gcc version check

This commit is contained in:
Shigeki Ohtsu 2012-03-03 12:18:24 +09:00 committed by Ben Noordhuis
parent b6595c4d60
commit d6f0ecc622

2
configure vendored
View File

@ -211,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':