Get Fortran flags from envvars.
This commit is contained in:
parent
a77551f3d7
commit
bfacc7ef8c
|
@ -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 = []
|
||||
|
|
Loading…
Reference in New Issue