Mercurial > hg > aimc
diff SConstruct @ 24:f7321fcaac7e
-Added more logging to AIMCopy
-Made OS X build i386 by default
author | tomwalters |
---|---|
date | Tue, 23 Feb 2010 13:09:33 +0000 |
parents | 491b1b1d1dc5 |
children | e361baf69120 |
line wrap: on
line diff
--- a/SConstruct Tue Feb 23 12:47:01 2010 +0000 +++ b/SConstruct Tue Feb 23 13:09:33 2010 +0000 @@ -117,6 +117,10 @@ else: print('Unsupported compiler: ' + compiler) Exit(1) + +if build_platform == 'darwin': + env.AppendUnique(CPPFLAGS = ['-arch', 'i386']) + env.AppendUnique(LINKFLAGS = ['-arch', 'i386']) if not target_platform == 'win32': # On windows, utf support is builtin for SimpleIni