mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-02 07:32:52 +00:00
* Add ability to specify the target LLVM will compile for via configure
* Minor whitespace cleanups git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22197 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5e96a3a49f
commit
4391bb537d
@ -36,6 +36,7 @@
|
||||
# -gccpath Path to gcc/g++ used to build LLVM
|
||||
# -cvstag Check out a specific CVS tag to build LLVM (useful for
|
||||
# testing release branches)
|
||||
# -target Specify the target triplet
|
||||
#
|
||||
# CVSROOT is the CVS repository from which the tree will be checked out,
|
||||
# specified either in the full :method:user@host:/dir syntax, or
|
||||
@ -292,6 +293,9 @@ while (scalar(@ARGV) and ($_ = $ARGV[0], /^[-+]/)) {
|
||||
$CONFIGUREARGS .= " CC=$ARGV[0]/gcc CXX=$ARGV[0]/g++"; shift; next;
|
||||
}
|
||||
if (/^-cvstag/) { $CVSCOOPT .= " -r $ARGV[0]"; shift; next; }
|
||||
if (/^-target/) {
|
||||
$CONFIGUREARGS .= " --target=$ARGV[0]"; shift; next;
|
||||
}
|
||||
if (/^-noexternals$/) { $NOEXTERNALS = 1; next; }
|
||||
if (/^-nodejagnu$/) { $NODEJAGNU = 1; next; }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user