Moved -static-libgcc to linker flags.
Moved -static-libgcc to linker flags.
1.1 --- a/AMBuildScript Thu Apr 28 02:43:55 2011 -0500
1.2 +++ b/AMBuildScript Sun May 01 00:09:25 2011 -0500
1.3 @@ -99,7 +99,7 @@
1.4 self.compiler.AddToListVar('CDEFINES', 'HAVE_STDINT_H')
1.5 if self.vendor == 'gcc':
1.6 self.compiler.AddToListVar('CFLAGS', '-mfpmath=sse')
1.7 - self.compiler.AddToListVar('CFLAGS', '-static-libgcc')
1.8 + self.compiler.AddToListVar('POSTLINKFLAGS', '-static-libgcc')
1.9 elif isinstance(cxx, Cpp.MSVC):
1.10 self.vendor = 'msvc'
1.11 if AMBuild.options.debug == '1':