From e2a923c8dfeb1a531adef87e6bd6446922642666 Mon Sep 17 00:00:00 2001 From: Nick Bolton Date: Fri, 20 Jul 2012 15:09:45 +0000 Subject: [PATCH] patch: allowed toolchain to build for aix (thanks to Jim Hague) --- tools/build/toolchain.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tools/build/toolchain.py b/tools/build/toolchain.py index 36ed6606..22489989 100644 --- a/tools/build/toolchain.py +++ b/tools/build/toolchain.py @@ -947,13 +947,13 @@ class InternalCommands: else: raise Exception("User does not have correct setup version.") - def get_generators(self): - if sys.platform == 'win32': - return self.win32_generators - elif sys.platform in ['linux2', 'sunos5', 'freebsd7']: - return self.unix_generators - elif sys.platform == 'darwin': - return self.darwin_generators + def get_generators(self): + if sys.platform == 'win32': + return self.win32_generators + elif sys.platform in ['linux2', 'sunos5', 'freebsd7', 'aix5']: + return self.unix_generators + elif sys.platform == 'darwin': + return self.darwin_generators else: raise Exception('Unsupported platform: ' + sys.platform)