SConstruct (6121:18aff7f548c1) SConstruct (6143:010490fd482a)
1# -*- mode:python -*-
2
3# Copyright (c) 2009 The Hewlett-Packard Development Company
4# Copyright (c) 2004-2005 The Regents of The University of Michigan
5# All rights reserved.
6#
7# Redistribution and use in source and binary forms, with or without
8# modification, are permitted provided that the following conditions are

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

389if main['GCC'] + main['SUNCC'] + main['ICC'] > 1:
390 print 'Error: How can we have two at the same time?'
391 Exit(1)
392
393# Set up default C++ compiler flags
394if main['GCC']:
395 main.Append(CCFLAGS='-pipe')
396 main.Append(CCFLAGS='-fno-strict-aliasing')
1# -*- mode:python -*-
2
3# Copyright (c) 2009 The Hewlett-Packard Development Company
4# Copyright (c) 2004-2005 The Regents of The University of Michigan
5# All rights reserved.
6#
7# Redistribution and use in source and binary forms, with or without
8# modification, are permitted provided that the following conditions are

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

389if main['GCC'] + main['SUNCC'] + main['ICC'] > 1:
390 print 'Error: How can we have two at the same time?'
391 Exit(1)
392
393# Set up default C++ compiler flags
394if main['GCC']:
395 main.Append(CCFLAGS='-pipe')
396 main.Append(CCFLAGS='-fno-strict-aliasing')
397 main.Append(CCFLAGS=Split('-Wall -Wno-sign-compare -Werror -Wundef'))
397 main.Append(CCFLAGS=['-Wall', '-Wno-sign-compare', '-Wundef'])
398 main.Append(CXXFLAGS='-Wno-deprecated')
399elif main['ICC']:
400 pass #Fix me... add warning flags once we clean up icc warnings
401elif main['SUNCC']:
402 main.Append(CCFLAGS='-Qoption ccfe')
403 main.Append(CCFLAGS='-features=gcc')
404 main.Append(CCFLAGS='-features=extensions')
405 main.Append(CCFLAGS='-library=stlport4')

--- 496 unchanged lines hidden ---
398 main.Append(CXXFLAGS='-Wno-deprecated')
399elif main['ICC']:
400 pass #Fix me... add warning flags once we clean up icc warnings
401elif main['SUNCC']:
402 main.Append(CCFLAGS='-Qoption ccfe')
403 main.Append(CCFLAGS='-features=gcc')
404 main.Append(CCFLAGS='-features=extensions')
405 main.Append(CCFLAGS='-library=stlport4')

--- 496 unchanged lines hidden ---