[Driver] Unbreak hexagon build bots

AddHexagonTargetArgs didn't respect the driver flags by unconditionally
pushing -fno-signed-char.  Instead, add Hexagon handling to
isSignedCharDefault.

llvm-svn: 238106
This commit is contained in:
David Majnemer 2015-05-23 19:23:55 +00:00
parent c3658d2f24
commit dcecd93196
1 changed files with 1 additions and 1 deletions

View File

@ -497,6 +497,7 @@ static bool isSignedCharDefault(const llvm::Triple &Triple) {
return true; return true;
return false; return false;
case llvm::Triple::hexagon:
case llvm::Triple::ppc64le: case llvm::Triple::ppc64le:
case llvm::Triple::systemz: case llvm::Triple::systemz:
case llvm::Triple::xcore: case llvm::Triple::xcore:
@ -1746,7 +1747,6 @@ void Clang::AddX86TargetArgs(const ArgList &Args,
void Clang::AddHexagonTargetArgs(const ArgList &Args, void Clang::AddHexagonTargetArgs(const ArgList &Args,
ArgStringList &CmdArgs) const { ArgStringList &CmdArgs) const {
CmdArgs.push_back("-fno-signed-char");
CmdArgs.push_back("-mqdsp6-compat"); CmdArgs.push_back("-mqdsp6-compat");
CmdArgs.push_back("-Wreturn-type"); CmdArgs.push_back("-Wreturn-type");