summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2011-09-09 14:52:21 +0200
committerStephan Bergmann <sbergman@redhat.com>2011-09-09 17:46:37 +0200
commite75cd93855771ef07c61e5915ffe509384eef28f (patch)
treef8a04d46736912c48a9620f54aa066155564a8f4 /solenv
parent1d38dbab29245e430792f7b3a4c14c94cd011504 (diff)
sb140: #i117085# support ENABLE_SYMBOLS
Diffstat (limited to 'solenv')
-rw-r--r--solenv/gbuild/platform/solaris.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/solenv/gbuild/platform/solaris.mk b/solenv/gbuild/platform/solaris.mk
index 81148a9edc6c..55f2f1f5d126 100644
--- a/solenv/gbuild/platform/solaris.mk
+++ b/solenv/gbuild/platform/solaris.mk
@@ -84,6 +84,11 @@ gb_CXXFLAGS := \
+w2 \
-erroff=doubunder,identexpected,inllargeuse,inllargeint,notemsource,reftotemp,truncwarn,wnoretvalue,anonnotype \
+ifeq ($(gb_SYMBOL),$(true))
+gb_CFLAGS += -g -xs
+gb_CXXFLAGS += -g0 -xs
+endif
+
ifneq ($(EXTERNAL_WARNINGS_NOT_ERRORS),TRUE)
gb_CFLAGS_WERROR := -errwarn=%all
gb_CXXFLAGS_WERROR := -xwe