summaryrefslogtreecommitdiff
path: root/numpy/distutils/command
diff options
context:
space:
mode:
authorDavid Cournapeau <cournape@gmail.com>2008-05-20 09:24:38 +0000
committerDavid Cournapeau <cournape@gmail.com>2008-05-20 09:24:38 +0000
commitbc3cfee0148369b1a58cc8b2490c0be5cc1feb18 (patch)
tree3a82f5887a0adcc5d6817d451615812260c2a3cc /numpy/distutils/command
parent612823699dc191ec140d9e930a656db3c482e47e (diff)
downloadnumpy-bc3cfee0148369b1a58cc8b2490c0be5cc1feb18.tar.gz
Handle fortran compiler on open-solaris
Diffstat (limited to 'numpy/distutils/command')
-rw-r--r--numpy/distutils/command/scons.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/numpy/distutils/command/scons.py b/numpy/distutils/command/scons.py
index 1575114a1..bc6c8fa55 100644
--- a/numpy/distutils/command/scons.py
+++ b/numpy/distutils/command/scons.py
@@ -85,6 +85,8 @@ def dist2sconsfc(compiler):
return 'g77'
elif compiler.compiler_type == 'gnu95':
return 'gfortran'
+ elif compiler.compiler_type == 'sun':
+ return 'sunf77'
else:
# XXX: Just give up for now, and use generic fortran compiler
return 'fortran'