void-packages/srcpkgs/mongodb/patches/removeWerror.patch

12 lines
489 B
Diff

--- SConstruct 2014-04-08 22:55:57.206075327 +0800
+++ SConstruct 2014-04-08 22:57:58.692240224 +0800
@@ -819,7 +819,7 @@
"-Winvalid-pch"] )
# env.Append( " -Wconversion" ) TODO: this doesn't really work yet
if linux or darwin:
- env.Append( CCFLAGS=["-Werror", "-pipe"] )
+ env.Append( CCFLAGS=["-pipe"] )
env.Append( CPPDEFINES=["_FILE_OFFSET_BITS=64"] )
env.Append( CXXFLAGS=["-Wnon-virtual-dtor", "-Woverloaded-virtual"] )