Updated buildbot scripts to support clang builders.

This commit is contained in:
Scott Ehlert
2011-05-01 00:17:11 -05:00
parent 7e514f5d34
commit b63b94bc81
3 changed files with 20 additions and 7 deletions
+2
View File
@@ -155,6 +155,8 @@ class SM:
#Platform-specifics
if AMBuild.target['platform'] == 'linux':
self.compiler.AddToListVar('CDEFINES', '_LINUX')
if self.vendor == 'clang':
self.compiler.AddToListVar('POSTLINKFLAGS', '-lgcc_eh')
elif AMBuild.target['platform'] == 'darwin':
self.compiler.AddToListVar('CFLAGS', ['-isysroot',
'/Developer/SDKs/MacOSX10.5.sdk'])