Created
March 5, 2011 00:53
-
-
Save edvakf/855989 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/SConstruct b/SConstruct | |
| index 26259a2..3830265 100644 | |
| --- a/SConstruct | |
| +++ b/SConstruct | |
| @@ -72,6 +72,8 @@ def Build(): | |
| env = Environment(options=var, tools = ['default', TOOL_SUBST]) | |
| env.VariantDir(join(root_dir, 'obj'), join(root_dir, 'src'), 0) | |
| + env.PrependENVPath('PATH', os.environ['PATH']) # especially MacPorts's /opt/local/bin | |
| + | |
| if os.path.exists(join(root_dir, '.config')): | |
| env.SConscript( | |
| join(root_dir, '.config'), | |
| @@ -98,7 +100,8 @@ def Build(): | |
| conf.env.Append( | |
| CCFLAGS=[ | |
| "-pedantic", "-Wpointer-arith", | |
| - "-Wwrite-strings", "-Wno-long-long" ]) | |
| + "-Wwrite-strings", "-Wno-long-long", | |
| + "-Wno-missing-field-initializers" ]) | |
| option_dict['%USE_ICU%'] = '1' | |
| conf.CheckLibWithHeader('m', 'cmath', 'cxx') | |
| env = conf.Finish() |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-Wno-missing-field-initializers needed for boost/date_time/posix_time/conversion.hpp
http://lists.boost.org/Archives/boost/2009/09/155831.php