Skip to content

Commit

Permalink
Merge pull request #2659 from MRtrix3/cxxlauncher
Browse files Browse the repository at this point in the history
Add support for multiple arguments to CXX_COMPILER_LAUNCHER
  • Loading branch information
jdtournier authored Jun 28, 2023
2 parents c79b0b1 + 86d6d89 commit c34d09b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -1481,8 +1481,9 @@ with open (config_filename, 'w', encoding='utf-8') as config_file:
commit (config_file, 'lib_suffix', lib_suffix)

if "CXX_COMPILER_LAUNCHER" in os.environ:
print("\n USING COMPILER PREFIX", os.environ["CXX_COMPILER_LAUNCHER"])
cpp.insert(0, os.environ["CXX_COMPILER_LAUNCHER"])
cpp_launcher = os.environ["CXX_COMPILER_LAUNCHER"].split()
print("\n USING CXX_COMPILER_LAUNCHER", cpp_launcher)
cpp = cpp_launcher + cpp

commit (config_file, 'cpp', cpp)
commit (config_file, 'cpp_flags', cpp_flags)
Expand Down

0 comments on commit c34d09b

Please sign in to comment.