SConscript (8596:e6e22fa77883) SConscript (8607:5fb918115c07)
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

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

846 new_env.Append(**kwargs)
847
848 swig_env = new_env.Clone()
849 swig_env.Append(CCFLAGS='-Werror')
850 if env['GCC']:
851 swig_env.Append(CCFLAGS='-Wno-uninitialized')
852 swig_env.Append(CCFLAGS='-Wno-sign-compare')
853 swig_env.Append(CCFLAGS='-Wno-parentheses')
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

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

846 new_env.Append(**kwargs)
847
848 swig_env = new_env.Clone()
849 swig_env.Append(CCFLAGS='-Werror')
850 if env['GCC']:
851 swig_env.Append(CCFLAGS='-Wno-uninitialized')
852 swig_env.Append(CCFLAGS='-Wno-sign-compare')
853 swig_env.Append(CCFLAGS='-Wno-parentheses')
854 swig_env.Append(CCFLAGS='-Wno-unused-label')
855 swig_env.Append(CCFLAGS='-Wno-unused-but-set-variable')
854
855 werror_env = new_env.Clone()
856 werror_env.Append(CCFLAGS='-Werror')
857
858 def make_obj(source, static, extra_deps = None):
859 '''This function adds the specified source to the correct
860 build environment, and returns the corresponding SCons Object
861 nodes'''

--- 109 unchanged lines hidden ---
856
857 werror_env = new_env.Clone()
858 werror_env.Append(CCFLAGS='-Werror')
859
860 def make_obj(source, static, extra_deps = None):
861 '''This function adds the specified source to the correct
862 build environment, and returns the corresponding SCons Object
863 nodes'''

--- 109 unchanged lines hidden ---