AMBuildScript
changeset 3267 622ef46cd089
parent 3266 9f60b6ea9c95
child 3280 7aea1316eff7
     1.1 --- a/AMBuildScript	Sun May 01 00:09:25 2011 -0500
     1.2 +++ b/AMBuildScript	Sun May 01 00:17:11 2011 -0500
     1.3 @@ -155,6 +155,8 @@
     1.4  			#Platform-specifics
     1.5  			if AMBuild.target['platform'] == 'linux':
     1.6  				self.compiler.AddToListVar('CDEFINES', '_LINUX')
     1.7 +				if self.vendor == 'clang':
     1.8 +					self.compiler.AddToListVar('POSTLINKFLAGS', '-lgcc_eh')
     1.9  			elif AMBuild.target['platform'] == 'darwin':
    1.10  				self.compiler.AddToListVar('CFLAGS', ['-isysroot',
    1.11  				                                      '/Developer/SDKs/MacOSX10.5.sdk'])