summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/bugpoint/ToolRunner.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/bugpoint/ToolRunner.cpp b/tools/bugpoint/ToolRunner.cpp
index 7087cdd3d1..e00a2b93a0 100644
--- a/tools/bugpoint/ToolRunner.cpp
+++ b/tools/bugpoint/ToolRunner.cpp
@@ -543,6 +543,7 @@ CBE *AbstractInterpreter::createCBE(const std::string &ProgramPath,
// GCC abstraction
//
+#ifdef __APPLE__
static bool
IsARMArchitecture(std::vector<std::string> Args)
{
@@ -558,6 +559,7 @@ IsARMArchitecture(std::vector<std::string> Args)
return false;
}
+#endif
int GCC::ExecuteProgram(const std::string &ProgramFile,
const std::vector<std::string> &Args,