diff options
Diffstat (limited to 'environment.py')
-rw-r--r-- | environment.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/environment.py b/environment.py index 165f0f0..5f0702b 100644 --- a/environment.py +++ b/environment.py @@ -1864,6 +1864,9 @@ def get_args_from_envvars(lang): compile_args = os.environ.get('CXXFLAGS', '').split() link_args = compile_args + os.environ.get('LDFLAGS', '').split() compile_args += os.environ.get('CPPFLAGS', '').split() + elif lang == 'fortran': + compile_args = os.environ.get('FFLAGS', '').split() + link_args = compile_args + os.environ.get('LDFLAGS', '').split() else: compile_args = [] link_args = [] |