mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 04:33:05 +00:00
Fix PR2120 by changing the replacement order to change compile_cxx
before compile_c. Patch by Joachim Durchholz! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48132 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3feb0170a8
commit
aadbda85a0
@ -56,10 +56,10 @@ proc substitute { line test tmpFile } {
|
||||
regsub -all {%llvmgcc} $new_line "$llvmgcc -emit-llvm" new_line
|
||||
#replace %llvmgxx with actual path to llvmg++
|
||||
regsub -all {%llvmgxx} $new_line "$llvmgxx -emit-llvm" new_line
|
||||
#replace %compile_c with C compilation command
|
||||
regsub -all {%compile_c} $new_line "$compile_c" new_line
|
||||
#replace %compile_cxx with C++ compilation command
|
||||
regsub -all {%compile_cxx} $new_line "$compile_cxx" new_line
|
||||
#replace %compile_c with C compilation command
|
||||
regsub -all {%compile_c} $new_line "$compile_c" new_line
|
||||
#replace %link with C++ link command
|
||||
regsub -all {%link} $new_line "$link" new_line
|
||||
#replace %shlibext with shared library extension
|
||||
|
Loading…
Reference in New Issue
Block a user