llvm.org GIT mirror llvm / fbc0dec
Reset the system compiler each time we start a new flavour. Otherwise the last compiler built for the previous flavour is used for the next, for example the Debug clang compiler was being used for the initial build of the Release LLVM. Flavors should be independent of each other. This especially matters if the compiler built for the previous flavour doesn't actually work! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142607 91177308-0d34-0410-b5e6-96231b3b80d8 Duncan Sands 8 years ago
1 changed file(s) with 3 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
150150 mkdir -p $LogDir
151151
152152 # Find compilers.
153 c_compiler="$CC"
154 cxx_compiler="$CXX"
155153 if [ "$do_dragonegg" = "yes" ]; then
156154 gcc_compiler="$GCC"
157155 if [ -z "$gcc_compiler" ]; then
338336 echo "********************************************************************************"
339337 echo ""
340338
339 c_compiler="$CC"
340 cxx_compiler="$CXX"
341
341342 llvmCore_phase1_objdir=$BuildDir/Phase1/$Flavor/llvmCore-$Release-rc$RC.obj
342343 llvmCore_phase1_installdir=$BuildDir/Phase1/$Flavor/llvmCore-$Release-rc$RC.install
343344 dragonegg_phase1_objdir=$BuildDir/Phase1/$Flavor/DragonEgg-$Release-rc$RC.obj