Mercurial > hg > aimc
comparison SConstruct @ 126:a9cb396529c2
- Added support for movies!
author | tomwalters |
---|---|
date | Thu, 21 Oct 2010 01:46:39 +0000 |
parents | 3325f8b2c8fc |
children | 5d4b269b67d2 |
comparison
equal
deleted
inserted
replaced
125:bf1417b5d83e | 126:a9cb396529c2 |
---|---|
135 | 135 |
136 # GNU compiler collection | 136 # GNU compiler collection |
137 elif compiler == 'gcc': | 137 elif compiler == 'gcc': |
138 env['STRIP'] = 'strip' | 138 env['STRIP'] = 'strip' |
139 env.AppendUnique(CPPFLAGS = ['-Wall']) | 139 env.AppendUnique(CPPFLAGS = ['-Wall']) |
140 env.AppendUnique(CPPFLAGS = ['-O2',])# '-fomit-frame-pointer']) | 140 env.AppendUnique(CPPFLAGS = ['-O1',])# '-fomit-frame-pointer']) |
141 if env['symbols']: | 141 if env['symbols']: |
142 env.AppendUnique(CPPFLAGS = ['-g']) | 142 env.AppendUnique(CPPFLAGS = ['-g']) |
143 if env['mingw']: | 143 if env['mingw']: |
144 if not env['PLATFORM'] == 'win32': | 144 if not env['PLATFORM'] == 'win32': |
145 print('Cross-compilation for Windows is not supported') | 145 print('Cross-compilation for Windows is not supported') |