summaryrefslogtreecommitdiff
path: root/solenv/inc/unxgcc.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/unxgcc.mk
parentbbec6182140209774390a6adda967e94f14b9c95 (diff)
Define LIBO_WERROR when warnings are errors
Diffstat (limited to 'solenv/inc/unxgcc.mk')
-rw-r--r--solenv/inc/unxgcc.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/solenv/inc/unxgcc.mk b/solenv/inc/unxgcc.mk
index a7eeaa4d91cf..028e954c127a 100644
--- a/solenv/inc/unxgcc.mk
+++ b/solenv/inc/unxgcc.mk
@@ -138,7 +138,7 @@ CFLAGSWARNCXX=$(CFLAGSWARNCC) -Wshadow -Wno-ctor-dtor-privacy \
-Wno-non-virtual-dtor -Woverloaded-virtual
CFLAGSWALLCC=$(CFLAGSWARNCC)
CFLAGSWALLCXX=$(CFLAGSWARNCXX)
-CFLAGSWERRCC=-Werror
+CFLAGSWERRCC=-Werror -DLIBO_WERROR
COMPILER_WARN_ERRORS=TRUE