mirror of https://github.com/nodejs/node.git
configure: use gcc and g++ as CC and CXX defaults
It matches what GYP's Makefile generator does and it should improve compiler detection because cc and c++ are not always gcc and g++. Fixes: https://github.com/iojs/io.js/issues/1173 PR-URL: https://github.com/iojs/io.js/pull/1174 Reviewed-By: Johan Bergström <bugs@bergstroem.nu>pull/1174/head
parent
08ec897f82
commit
8b2363d2fd
|
@ -9,8 +9,9 @@ import sys
|
|||
import shutil
|
||||
import string
|
||||
|
||||
CC = os.environ.get('CC', 'cc')
|
||||
CXX = os.environ.get('CXX', 'c++')
|
||||
# gcc and g++ as defaults matches what GYP's Makefile generator does.
|
||||
CC = os.environ.get('CC', 'gcc')
|
||||
CXX = os.environ.get('CXX', 'g++')
|
||||
|
||||
root_dir = os.path.dirname(__file__)
|
||||
sys.path.insert(0, os.path.join(root_dir, 'tools', 'gyp', 'pylib'))
|
||||
|
|
Loading…
Reference in New Issue