Skip to content

Commit

Permalink
Does not replace g++ by c++ compiler name.
Browse files Browse the repository at this point in the history
  • Loading branch information
cournape committed Apr 23, 2008
1 parent 99f7707 commit 5e879e5
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions numpy/distutils/command/scons.py
Expand Up @@ -92,10 +92,6 @@ def dist2sconsfc(compiler):
def dist2sconscxx(compiler):
"""This converts the name passed to distutils to scons name convention
(C++ compiler). The argument should be a Compiler instance."""
if compiler.compiler_type == 'gnu':
return 'g++'
else:
return 'c++'
return compiler.compiler_cxx[0]

def get_compiler_executable(compiler):
Expand Down Expand Up @@ -329,7 +325,7 @@ def run(self):
if int(self.silent) < 1:
log.info("Executing scons command (pkg is %s): %s ", pkg_name, cmdstr)
else:
log.info("Executing scons command for pkg %s", pkg_name)
log.info("======== Executing scons command for pkg %s =========", pkg_name)
st = os.system(cmdstr)
if st:
print "status is %d" % st
Expand Down

0 comments on commit 5e879e5

Please sign in to comment.