diff options
-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 |