PKGBUILDs/community/mongodb/removeWerror.patch

12 lines
493 B
Diff
Raw Normal View History

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