From 407204ee2c06fae3b3adec90b188519877bda24d Mon Sep 17 00:00:00 2001 From: Rachael Alexanderson Date: Sun, 8 Jan 2017 21:25:27 -0500 Subject: [PATCH] - Enabled Gnu CC ARM architecture check for Drawergen. --- tools/drawergen/drawergen.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/drawergen/drawergen.cpp b/tools/drawergen/drawergen.cpp index ecf87062e..e753d6197 100644 --- a/tools/drawergen/drawergen.cpp +++ b/tools/drawergen/drawergen.cpp @@ -88,7 +88,11 @@ int main(int argc, char **argv) std::cout << "Target triple is " << triple << std::endl; +#ifdef __arm__ + std::string cpuName = "armv8"; +#else std::string cpuName = "pentium4"; +#endif std::string features; std::cout << "Compiling drawer code for " << cpuName << ".." << std::endl;