summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorMark Benvenuto <mark.benvenuto@mongodb.com>2016-04-02 13:26:52 -0400
committerMichael Cahill <michael.cahill@mongodb.com>2016-04-04 12:37:30 +1000
commit9cefba939a60b5ef64dde32ccfaf478441e9d3cb (patch)
tree18c9b23c2dbfa9d0dd186005ff479604207484a3 /SConstruct
parentfbf9ef5b5d8d5376d8b920509cc31c34959e722e (diff)
downloadmongo-9cefba939a60b5ef64dde32ccfaf478441e9d3cb.tar.gz
SERVER-23452 Enable -Werror on Solaris
(cherry picked from commit 7bc77b9f6db91f0f66dc77e41c9c6212c944bf91)
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct2
1 files changed, 1 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index 4fb2d20cb72..71e89000baf 100644
--- a/SConstruct
+++ b/SConstruct
@@ -1396,7 +1396,7 @@ if env.TargetOSIs('posix'):
"-Wno-unknown-pragmas",
"-Winvalid-pch"] )
# env.Append( " -Wconversion" ) TODO: this doesn't really work yet
- if env.TargetOSIs('linux', 'osx'):
+ if env.TargetOSIs('linux', 'osx', 'solaris'):
if not has_option("disable-warnings-as-errors"):
env.Append( CCFLAGS=["-Werror"] )