SConstruct (5550:26231e06f86d) SConstruct (5571:7f81bb169068)
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

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

346 Exit(1)
347
348
349# Set up default C++ compiler flags
350if env['GCC']:
351 env.Append(CCFLAGS='-pipe')
352 env.Append(CCFLAGS='-fno-strict-aliasing')
353 env.Append(CCFLAGS=Split('-Wall -Wno-sign-compare -Werror -Wundef'))
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

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

346 Exit(1)
347
348
349# Set up default C++ compiler flags
350if env['GCC']:
351 env.Append(CCFLAGS='-pipe')
352 env.Append(CCFLAGS='-fno-strict-aliasing')
353 env.Append(CCFLAGS=Split('-Wall -Wno-sign-compare -Werror -Wundef'))
354 env.Append(CXXFLAGS='-Wno-deprecated')
354elif env['ICC']:
355 pass #Fix me... add warning flags once we clean up icc warnings
356elif env['SUNCC']:
357 env.Append(CCFLAGS='-Qoption ccfe')
358 env.Append(CCFLAGS='-features=gcc')
359 env.Append(CCFLAGS='-features=extensions')
360 env.Append(CCFLAGS='-library=stlport4')
361 env.Append(CCFLAGS='-xar')

--- 512 unchanged lines hidden ---
355elif env['ICC']:
356 pass #Fix me... add warning flags once we clean up icc warnings
357elif env['SUNCC']:
358 env.Append(CCFLAGS='-Qoption ccfe')
359 env.Append(CCFLAGS='-features=gcc')
360 env.Append(CCFLAGS='-features=extensions')
361 env.Append(CCFLAGS='-library=stlport4')
362 env.Append(CCFLAGS='-xar')

--- 512 unchanged lines hidden ---