summaryrefslogtreecommitdiff
path: root/solenv/inc/unxsols4.mk
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2011-09-28 17:28:40 +0300
committerTor Lillqvist <tml@iki.fi>2011-09-28 17:43:40 +0300
commit6904e7d8ba33e09e9254b7d569205ef2b4d8f9bb (patch)
tree006c3ef4534332488ef62546de88e1c73185e744 /solenv/inc/unxsols4.mk
parentbbec6182140209774390a6adda967e94f14b9c95 (diff)
Define LIBO_WERROR when warnings are errors
Diffstat (limited to 'solenv/inc/unxsols4.mk')
-rw-r--r--solenv/inc/unxsols4.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/solenv/inc/unxsols4.mk b/solenv/inc/unxsols4.mk
index 02c01f40cc4e..b609951f6800 100644
--- a/solenv/inc/unxsols4.mk
+++ b/solenv/inc/unxsols4.mk
@@ -106,8 +106,8 @@ CFLAGSWARNCC=
CFLAGSWARNCXX=+w2 -erroff=doubunder,identexpected,inllargeuse,inllargeint,notemsource,reftotemp,truncwarn,wnoretvalue,anonnotype
CFLAGSWALLCC=$(CFLAGSWARNCC)
CFLAGSWALLCXX=$(CFLAGSWARNCXX)
-CFLAGSWERRCC=-errwarn=%all
-CFLAGSWERRCXX=-xwe
+CFLAGSWERRCC=-errwarn=%all -DLIBO_WERROR
+CFLAGSWERRCXX=-xwe -DLIBO_WERROR
# Once all modules on this platform compile without warnings, set
# COMPILER_WARN_ERRORS=TRUE here instead of setting MODULES_WITH_WARNINGS (see