diff options
author | Andoni Morales Alastruey <ylatuya@gmail.com> | 2013-06-19 13:34:38 +0200 |
---|---|---|
committer | Andoni Morales Alastruey <ylatuya@gmail.com> | 2013-06-20 11:50:56 +0200 |
commit | 101615e7f1e485cf5462cb661b128e0ed9b4e152 (patch) | |
tree | 96fa0ddd367b3780067d83cc6db5f34e37df320f | |
parent | bfefc232a413a25c050e85fd45d094c24f25f1d4 (diff) |
ios: add missing import and more info to the error string
-rw-r--r-- | config/ios.config | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/config/ios.config b/config/ios.config index 20930b8..e8e1fbf 100644 --- a/config/ios.config +++ b/config/ios.config @@ -6,6 +6,7 @@ import os from cerbero.utils import shell from cerbero.config import Architecture, DistroVersion +from cerbero.errors import FatalError # We don't want anything from macports detected in configure and # used later. System libs are passed through the -isysroot option @@ -48,7 +49,7 @@ elif target_arch == Architecture.X86: elif target_arch == Architecture.UNIVERSAL: arch_cflags='' else: - raise FatalError("Arch not supported") + raise FatalError("Arch %s not supported" % target_arch) # Toolchain environment os.environ['PATH'] = '%s:%s' % (_toolchain_root, os.environ['PATH']) |