mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-27 13:40:30 +00:00
Added support for C++ compilation.
Made removing the object files a separate sh command so that it can easily be commented out. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11888 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
28ccd021de
commit
fd04ee687b
@ -10,7 +10,7 @@ then
|
|||||||
linker=./link-$program
|
linker=./link-$program
|
||||||
echo "Building $program with llvm-native-gcc"
|
echo "Building $program with llvm-native-gcc"
|
||||||
rm -f $program
|
rm -f $program
|
||||||
gmake -s $program CC=llvm-native-gcc
|
gmake -e $program CC=llvm-native-gcc CXX=llvm-native-gxx
|
||||||
echo "Erasing $program and re-linking it"
|
echo "Erasing $program and re-linking it"
|
||||||
rm -f $program
|
rm -f $program
|
||||||
echo "rm -f $program" > $linker
|
echo "rm -f $program" > $linker
|
||||||
@ -113,7 +113,8 @@ files=`cat $checkfiles`
|
|||||||
echo "Recompiling everything with llvm-native-gcc"
|
echo "Recompiling everything with llvm-native-gcc"
|
||||||
for f in $files
|
for f in $files
|
||||||
do
|
do
|
||||||
rm -f $f && gmake $f CC=llvm-native-gcc
|
rm -f $f
|
||||||
|
gmake $f CC=llvm-native-gcc CXX=llvm-native-gxx
|
||||||
done
|
done
|
||||||
rm -f $program
|
rm -f $program
|
||||||
$linker
|
$linker
|
||||||
|
Loading…
Reference in New Issue
Block a user