summaryrefslogtreecommitdiff
path: root/solenv/inc/unxsolu4.mk
diff options
context:
space:
mode:
Diffstat (limited to 'solenv/inc/unxsolu4.mk')
-rw-r--r--solenv/inc/unxsolu4.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/solenv/inc/unxsolu4.mk b/solenv/inc/unxsolu4.mk
index 91a6c8968fda..ab276cb0504f 100644
--- a/solenv/inc/unxsolu4.mk
+++ b/solenv/inc/unxsolu4.mk
@@ -105,8 +105,8 @@ CFLAGSWARNCC=
CFLAGSWARNCXX=+w2 -erroff=doubunder,identexpected,inllargeuse,inllargeint,notemsource,reftotemp,truncwarn,wnoretvalue,hidef,anonnotype,unassigned,badargtype2w
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