mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-19 02:25:01 +00:00
NNT: Remove unused BUILDTYPE argument.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84619 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -164,11 +164,10 @@ while (scalar(@ARGV) and ($_ = $ARGV[0], /^[-+]/)) {
|
|||||||
if (/^-parallel-test$/) { $PROGTESTOPTS .= " ENABLE_PARALLEL_REPORT=1"; next; }
|
if (/^-parallel-test$/) { $PROGTESTOPTS .= " ENABLE_PARALLEL_REPORT=1"; next; }
|
||||||
if (/^-with-clang$/) { $WITHCLANG = 1; next; }
|
if (/^-with-clang$/) { $WITHCLANG = 1; next; }
|
||||||
if (/^-release$/) { $MAKEOPTS = "$MAKEOPTS ENABLE_OPTIMIZED=1 ".
|
if (/^-release$/) { $MAKEOPTS = "$MAKEOPTS ENABLE_OPTIMIZED=1 ".
|
||||||
"OPTIMIZE_OPTION=-O2"; $BUILDTYPE="release"; next;}
|
"OPTIMIZE_OPTION=-O2"; next;}
|
||||||
if (/^-release-asserts$/){ $MAKEOPTS = "$MAKEOPTS ENABLE_OPTIMIZED=1 ".
|
if (/^-release-asserts$/){ $MAKEOPTS = "$MAKEOPTS ENABLE_OPTIMIZED=1 ".
|
||||||
"DISABLE_ASSERTIONS=1 ".
|
"DISABLE_ASSERTIONS=1 ".
|
||||||
"OPTIMIZE_OPTION=-O2";
|
"OPTIMIZE_OPTION=-O2"; next;}
|
||||||
$BUILDTYPE="release-asserts"; next;}
|
|
||||||
if (/^-enable-llcbeta$/) { $PROGTESTOPTS .= " ENABLE_LLCBETA=1"; next; }
|
if (/^-enable-llcbeta$/) { $PROGTESTOPTS .= " ENABLE_LLCBETA=1"; next; }
|
||||||
if (/^-disable-pic$/) { $CONFIGUREARGS .= " --enable-pic=no"; next; }
|
if (/^-disable-pic$/) { $CONFIGUREARGS .= " --enable-pic=no"; next; }
|
||||||
if (/^-enable-lli$/) { $PROGTESTOPTS .= " ENABLE_LLI=1";
|
if (/^-enable-lli$/) { $PROGTESTOPTS .= " ENABLE_LLI=1";
|
||||||
@@ -257,10 +256,6 @@ if ($nickname eq "") {
|
|||||||
"\"-nickname <nickname>\"");
|
"\"-nickname <nickname>\"");
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($BUILDTYPE ne "release" && $BUILDTYPE ne "release-asserts") {
|
|
||||||
$BUILDTYPE = "debug";
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($CONFIG_PATH ne "") {
|
if ($CONFIG_PATH ne "") {
|
||||||
die "error: -config mode is not yet implemented,";
|
die "error: -config mode is not yet implemented,";
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user