summaryrefslogtreecommitdiff
path: root/community/mongodb/removeWerror.patch
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-03-25 00:05:30 -0700
committerroot <root@rshg054.dnsready.net>2013-03-25 00:05:30 -0700
commit32793d9a5b60ef0591c71c12ad75121d9b155adf (patch)
treeab1afae584dd06fd4ab20f57fb5a624e907f0985 /community/mongodb/removeWerror.patch
parent31416859638d756d88136e4e0eb78027c16ac17f (diff)
Mon Mar 25 00:05:30 PDT 2013
Diffstat (limited to 'community/mongodb/removeWerror.patch')
-rw-r--r--community/mongodb/removeWerror.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/community/mongodb/removeWerror.patch b/community/mongodb/removeWerror.patch
new file mode 100644
index 000000000..c5220cc1e
--- /dev/null
+++ b/community/mongodb/removeWerror.patch
@@ -0,0 +1,11 @@
+--- a/SConstruct 2013-03-16 02:59:55.000000000 +0800
++++ b/SConstruct 2013-03-20 10:55:20.009645869 +0800
+@@ -692,7 +692,7 @@
+ "-Winvalid-pch"] )
+ # env.Append( " -Wconversion" ) TODO: this doesn't really work yet
+ if linux:
+- env.Append( CCFLAGS=["-Werror", "-pipe"] )
++ env.Append( CCFLAGS=["-pipe"] )
+ if not has_option('clang'):
+ env.Append( CCFLAGS=["-fno-builtin-memcmp"] ) # glibc's memcmp is faster than gcc's
+