mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-04 09:45:00 +00:00
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! llvm-svn: 142607
This commit is contained in:
parent
747fa3d477
commit
c52861c44e
@ -151,8 +151,6 @@ LogDir=$BuildDir/logs
|
||||
mkdir -p $LogDir
|
||||
|
||||
# Find compilers.
|
||||
c_compiler="$CC"
|
||||
cxx_compiler="$CXX"
|
||||
if [ "$do_dragonegg" = "yes" ]; then
|
||||
gcc_compiler="$GCC"
|
||||
if [ -z "$gcc_compiler" ]; then
|
||||
@ -339,6 +337,9 @@ for Flavor in $Flavors ; do
|
||||
echo "********************************************************************************"
|
||||
echo ""
|
||||
|
||||
c_compiler="$CC"
|
||||
cxx_compiler="$CXX"
|
||||
|
||||
llvmCore_phase1_objdir=$BuildDir/Phase1/$Flavor/llvmCore-$Release-rc$RC.obj
|
||||
llvmCore_phase1_installdir=$BuildDir/Phase1/$Flavor/llvmCore-$Release-rc$RC.install
|
||||
dragonegg_phase1_objdir=$BuildDir/Phase1/$Flavor/DragonEgg-$Release-rc$RC.obj
|
||||
|
Loading…
Reference in New Issue
Block a user