diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2011-09-09 14:52:21 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2011-09-09 17:46:37 +0200 |
commit | e75cd93855771ef07c61e5915ffe509384eef28f (patch) | |
tree | f8a04d46736912c48a9620f54aa066155564a8f4 | |
parent | 1d38dbab29245e430792f7b3a4c14c94cd011504 (diff) |
sb140: #i117085# support ENABLE_SYMBOLS
-rw-r--r-- | solenv/gbuild/platform/solaris.mk | 5 |
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 |