SConscript (3918:1f9a98d198e8) SConscript (3940:b87f85bb4275)
1# -*- mode:python -*-
2
3# Copyright (c) 2004-2005 The Regents of The University of Michigan
4# All rights reserved.
5#
6# Redistribution and use in source and binary forms, with or without
7# modification, are permitted provided that the following conditions are
8# met: redistributions of source code must retain the above copyright

--- 311 unchanged lines hidden (view full) ---

320 ccflags['opt'] = '-g -O3'
321 ccflags['fast'] = '-O3'
322 ccflags['prof'] = '-O3 -g -pg'
323elif env['SUNCC']:
324 ccflags['debug'] = '-g0'
325 ccflags['opt'] = '-g -O'
326 ccflags['fast'] = '-fast'
327 ccflags['prof'] = '-fast -g -pg'
1# -*- mode:python -*-
2
3# Copyright (c) 2004-2005 The Regents of The University of Michigan
4# All rights reserved.
5#
6# Redistribution and use in source and binary forms, with or without
7# modification, are permitted provided that the following conditions are
8# met: redistributions of source code must retain the above copyright

--- 311 unchanged lines hidden (view full) ---

320 ccflags['opt'] = '-g -O3'
321 ccflags['fast'] = '-O3'
322 ccflags['prof'] = '-O3 -g -pg'
323elif env['SUNCC']:
324 ccflags['debug'] = '-g0'
325 ccflags['opt'] = '-g -O'
326 ccflags['fast'] = '-fast'
327 ccflags['prof'] = '-fast -g -pg'
328elif env['ICC']:
329 ccflags['debug'] = '-g -O0'
330 ccflags['opt'] = '-g -O'
331 ccflags['fast'] = '-xW -O3 -ipo -no-prec-div -static'
332 ccflags['prof'] = '-fast -g -pg'
328else:
329 print 'Unknown compiler, please fix compiler options'
330 Exit(1)
331
332makeEnv('debug', '.do',
333 CCFLAGS = Split(ccflags['debug']),
334 CPPDEFINES = ['DEBUG', 'TRACING_ON=1'])
335

--- 17 unchanged lines hidden ---
333else:
334 print 'Unknown compiler, please fix compiler options'
335 Exit(1)
336
337makeEnv('debug', '.do',
338 CCFLAGS = Split(ccflags['debug']),
339 CPPDEFINES = ['DEBUG', 'TRACING_ON=1'])
340

--- 17 unchanged lines hidden ---