build: fix gcc version check
authorShigeki Ohtsu <ohtsu@iij.ad.jp>
Sat, 3 Mar 2012 03:18:24 +0000 (12:18 +0900)
committerBen Noordhuis <info@bnoordhuis.nl>
Sat, 3 Mar 2012 17:07:39 +0000 (18:07 +0100)
configure

index 49d57b49085285e6af7196de1e98f35539d1675e..7a44a82821416ede19a5fa3f67fd80470746e86f 100755 (executable)
--- a/configure
+++ b/configure
@@ -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':